mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
lavf: add mp1/2 to determinable_frame_size()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c22fd9bd9c
commit
ca26c2c30f
@ -774,9 +774,9 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
|
||||
static int determinable_frame_size(AVCodecContext *avctx)
|
||||
{
|
||||
if (/*avctx->codec_id == CODEC_ID_AAC ||
|
||||
if (/*avctx->codec_id == CODEC_ID_AAC ||*/
|
||||
avctx->codec_id == CODEC_ID_MP1 ||
|
||||
avctx->codec_id == CODEC_ID_MP2 ||*/
|
||||
avctx->codec_id == CODEC_ID_MP2 ||
|
||||
avctx->codec_id == CODEC_ID_MP3/* ||
|
||||
avctx->codec_id == CODEC_ID_CELT*/)
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user