From ca26c2c30fec45933fdc9a097d1326438b3c4ddc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 4 Apr 2012 18:21:37 +0200 Subject: [PATCH] lavf: add mp1/2 to determinable_frame_size() Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 011cfbba61..5c5e24ca48 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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;