diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-10-19 18:53:32 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-10-19 18:53:32 +0000 |
commit | 8425cecacc35096ce41c34ab905cbffb9f9dce3d (patch) | |
tree | e8ae4a5ca7f6b5bb2e2887657dcf0c558a66f253 /libavformat/utils.c | |
parent | b0bef34209dbb8c438dfc3ab7de7d4fc1a5ab13d (diff) | |
download | ffmpeg-8425cecacc35096ce41c34ab905cbffb9f9dce3d.tar.gz |
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
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a071070cad..58b3584c1d 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; |