#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "sauce.h"
Go to the source code of this file.
Defines | |
#define | GET_SAUCE_META(name, size) |
Functions | |
int | ff_sauce_read (AVFormatContext *avctx, uint64_t *fsize, int *got_width, int get_height) |
Definition in file sauce.c.
Value:
if (avio_read(pb, buf, size) == size && buf[0]) { \ buf[size] = 0; \ av_dict_set(&avctx->metadata, name, buf, 0); \ }
Referenced by ff_sauce_read().
int ff_sauce_read | ( | AVFormatContext * | avctx, | |
uint64_t * | fsize, | |||
int * | got_width, | |||
int | get_height | |||
) |
avctx | AVFormatContext | |
[out] | fsize | return length of file, less SAUCE header |
[out] | got_width | set to non-zero if SAUCE header reported height |
get_height | Tell SAUCE header to parse height |
Definition at line 32 of file sauce.c.
Referenced by read_header().