[SCM] libav/experimental: request mp3 frame_size to be set in has_codec_parameters, fix issue #1314

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:18 UTC 2013


The following commit has been merged in the experimental branch:
commit 8425cecacc35096ce41c34ab905cbffb9f9dce3d
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Mon Oct 19 18:53:32 2009 +0000

    request mp3 frame_size to be set in has_codec_parameters, fix issue #1314
    
    Originally committed as revision 20318 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/utils.c b/libavformat/utils.c
index a071070..58b3584 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1884,6 +1884,7 @@ static int has_codec_parameters(AVCodecContext *enc)
         if(!enc->frame_size &&
            (enc->codec_id == CODEC_ID_VORBIS ||
             enc->codec_id == CODEC_ID_AAC ||
+            enc->codec_id == CODEC_ID_MP3 ||
             enc->codec_id == CODEC_ID_SPEEX))
             return 0;
         break;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list