Searched refs:FLAC_STREAMINFO_SIZE (Results 1 – 12 of 12) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | flac.c | 173 if (!avctx->extradata || avctx->extradata_size < FLAC_STREAMINFO_SIZE) { in ff_flac_is_extradata_valid() 179 if (avctx->extradata_size != FLAC_STREAMINFO_SIZE) { in ff_flac_is_extradata_valid() 181 FLAC_STREAMINFO_SIZE-avctx->extradata_size); in ff_flac_is_extradata_valid() 186 if (avctx->extradata_size < 8+FLAC_STREAMINFO_SIZE) { in ff_flac_is_extradata_valid() 208 init_get_bits(&gb, buffer, FLAC_STREAMINFO_SIZE*8); in ff_flac_parse_streaminfo()
|
D | flac.h | 34 #define FLAC_STREAMINFO_SIZE 34 macro
|
D | flacdec.c | 171 if (buf_size < FLAC_STREAMINFO_SIZE+8) { in parse_streaminfo() 177 metadata_size != FLAC_STREAMINFO_SIZE) { in parse_streaminfo()
|
D | flacenc.c | 139 memset(header, 0, FLAC_STREAMINFO_SIZE); in write_streaminfo() 140 init_put_bits(&pb, header, FLAC_STREAMINFO_SIZE); in write_streaminfo() 425 streaminfo = av_malloc(FLAC_STREAMINFO_SIZE); in flac_encode_init() 430 avctx->extradata_size = FLAC_STREAMINFO_SIZE; in flac_encode_init()
|
/third_party/ffmpeg/libavformat/ |
D | flacenc_header.c | 38 if (extradata_size < FLAC_STREAMINFO_SIZE) in ff_flac_write_header() 45 avio_write(pb, extradata, FLAC_STREAMINFO_SIZE); in ff_flac_write_header()
|
D | oggparseflac.c | 57 if (get_bits_long(&gb, 32) != FLAC_STREAMINFO_SIZE) in flac_header() 64 if ((ret = ff_alloc_extradata(st->codecpar, FLAC_STREAMINFO_SIZE)) < 0) in flac_header()
|
D | flacenc.c | 45 uint8_t streaminfo[FLAC_STREAMINFO_SIZE]; 288 if (streaminfo && streaminfo_size == FLAC_STREAMINFO_SIZE) { in flac_write_audio_packet() 289 memcpy(c->streaminfo, streaminfo, FLAC_STREAMINFO_SIZE); in flac_write_audio_packet() 336 avio_write(pb, c->streaminfo, FLAC_STREAMINFO_SIZE); in flac_write_trailer()
|
D | flacdec.c | 104 if (metadata_size != FLAC_STREAMINFO_SIZE) { in flac_read_header() 248 size == FLAC_STREAMINFO_SIZE && in flac_probe()
|
D | oggenc.c | 307 if (par->extradata_size < FLAC_STREAMINFO_SIZE) in ogg_build_flac_headers() 324 bytestream_put_buffer(&p, par->extradata, FLAC_STREAMINFO_SIZE); in ogg_build_flac_headers()
|
D | matroskadec.c | 2033 if (size < 8 + FLAC_STREAMINFO_SIZE || p[4] & 0x7f) { in matroska_parse_flac() 2039 track->codec_priv.size = 8 + FLAC_STREAMINFO_SIZE; in matroska_parse_flac()
|
D | movenc.c | 786 if (track->par->extradata_size != FLAC_STREAMINFO_SIZE) in mov_write_dfla_tag()
|
D | mov.c | 6641 if (type != FLAC_METADATA_TYPE_STREAMINFO || size != FLAC_STREAMINFO_SIZE) { in mov_read_dfla()
|