FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
md5enc.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/hash.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  MD5Context
 

Macros

#define OFFSET(x)   offsetof(struct MD5Context, x)
 
#define ENC   AV_OPT_FLAG_ENCODING_PARAM
 

Functions

static void md5_finish (struct AVFormatContext *s, char *buf)
 

Variables

static const AVOption hash_options []
 
static const AVClass md5enc_class
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(struct MD5Context, x)

Definition at line 54 of file md5enc.c.

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 55 of file md5enc.c.

Function Documentation

static void md5_finish ( struct AVFormatContext s,
char *  buf 
)
static

Definition at line 35 of file md5enc.c.

Variable Documentation

const AVOption hash_options[]
static
Initial value:
= {
{ "hash", "set hash to use", OFFSET(hash_name), AV_OPT_TYPE_STRING, {.str = "md5"}, 0, 0, ENC },
{ NULL },
}

Definition at line 56 of file md5enc.c.

const AVClass md5enc_class
static
Initial value:
= {
.class_name = "hash encoder class",
.item_name = av_default_item_name,
.option = hash_options,
}

Definition at line 61 of file md5enc.c.