[FFmpeg-cvslog] r21972 - trunk/libavformat/utils.c

michael subversion
Mon Feb 22 23:05:20 CET 2010


Author: michael
Date: Mon Feb 22 23:05:20 2010
New Revision: 21972

Log:
Make sure mp1/mp2 get their frame_size set.
Fixes issue1696

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Mon Feb 22 22:28:19 2010	(r21971)
+++ trunk/libavformat/utils.c	Mon Feb 22 23:05:20 2010	(r21972)
@@ -1914,6 +1914,8 @@ static int has_codec_parameters(AVCodecC
         if(!enc->frame_size &&
            (enc->codec_id == CODEC_ID_VORBIS ||
             enc->codec_id == CODEC_ID_AAC ||
+            enc->codec_id == CODEC_ID_MP1 ||
+            enc->codec_id == CODEC_ID_MP2 ||
             enc->codec_id == CODEC_ID_MP3 ||
             enc->codec_id == CODEC_ID_SPEEX))
             return 0;



More information about the ffmpeg-cvslog mailing list