|
FFmpeg
|
#include "libavutil/intreadwrite.h"#include "libavcodec/bytestream.h"#include "libavcodec/png.h"#include "avformat.h"#include "demux.h"#include "flac_picture.h"#include "id3v2.h"#include "internal.h"Go to the source code of this file.
Macros | |
| #define | MAX_TRUNC_PICTURE_SIZE (500 * 1024 * 1024) |
Functions | |
| int | ff_flac_parse_picture (AVFormatContext *s, uint8_t **bufp, int buf_size, int truncate_workaround) |
| Parse a FLAC METADATA_BLOCK_PICTURE. More... | |
| #define MAX_TRUNC_PICTURE_SIZE (500 * 1024 * 1024) |
Definition at line 31 of file flac_picture.c.
| 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().
1.8.17