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 55 of file md5enc.c.

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 56 of file md5enc.c.

Function Documentation

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

Definition at line 36 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 },
{ "format_version", "file format version", OFFSET(format_version), AV_OPT_TYPE_INT, {.i64 = 1}, 1, 1, ENC },
{ NULL },
}
#define NULL
Definition: coverity.c:32
#define ENC
Definition: md5enc.c:56
#define OFFSET(x)
Definition: md5enc.c:55

Definition at line 57 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,
}
#define LIBAVUTIL_VERSION_INT
Definition: version.h:70
static const AVOption hash_options[]
Definition: md5enc.c:57
av_default_item_name

Definition at line 63 of file md5enc.c.