[FFmpeg-cvslog] lavf: add mp1/2 to determinable_frame_size()

Michael Niedermayer git at videolan.org
Wed Apr 4 19:07:24 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr  4 18:21:37 2012 +0200| [ca26c2c30fec45933fdc9a097d1326438b3c4ddc] | committer: Michael Niedermayer

lavf: add mp1/2 to determinable_frame_size()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca26c2c30fec45933fdc9a097d1326438b3c4ddc
---

 libavformat/utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 011cfbb..5c5e24c 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;



More information about the ffmpeg-cvslog mailing list