FFmpeg
|
#include "avformat.h"
Go to the source code of this file.
Macros | |
#define | RETURN_ERROR(code) do { ret = (code); goto fail; } while (0) |
Functions | |
int | ff_flac_parse_picture (AVFormatContext *s, uint8_t **buf, int buf_size, int truncate_workaround) |
Parse a FLAC METADATA_BLOCK_PICTURE. More... | |
Definition at line 27 of file flac_picture.h.
int ff_flac_parse_picture | ( | AVFormatContext * | s, |
uint8_t ** | buf, | ||
int | buf_size, | ||
int | truncate_workaround | ||
) |
Parse a FLAC METADATA_BLOCK_PICTURE.
s | AVFormatContext for logging and the attached picture stream. |
buf | *buf points to the actual data which must be padded by AV_INPUT_BUFFER_PADDING_SIZE bytes not counted in buf_size. This function may take ownership of *buf and reset it. |
buf_size | size of *buf (excluding padding) |
truncate_workaround | If set, additional data may be read from s->pb if truncation has been detected. |
Definition at line 33 of file flac_picture.c.
Referenced by flac_read_header(), and vorbis_parse_single_comment().