FFmpeg
Macros | Functions
flac_picture.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/png.h"
#include "avformat.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 *buf, int buf_size, int truncate_workaround)
 

Macro Definition Documentation

◆ MAX_TRUNC_PICTURE_SIZE

#define MAX_TRUNC_PICTURE_SIZE   (500 * 1024 * 1024)

Definition at line 30 of file flac_picture.c.

Function Documentation

◆ ff_flac_parse_picture()

int ff_flac_parse_picture ( AVFormatContext s,
uint8_t buf,
int  buf_size,
int  truncate_workaround 
)

Definition at line 32 of file flac_picture.c.

Referenced by ff_vorbis_comment(), and flac_read_header().