mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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
This commit is contained in:
parent
b0bef34209
commit
8425cecacc
@ -1884,6 +1884,7 @@ static int has_codec_parameters(AVCodecContext *enc)
|
|||||||
if(!enc->frame_size &&
|
if(!enc->frame_size &&
|
||||||
(enc->codec_id == CODEC_ID_VORBIS ||
|
(enc->codec_id == CODEC_ID_VORBIS ||
|
||||||
enc->codec_id == CODEC_ID_AAC ||
|
enc->codec_id == CODEC_ID_AAC ||
|
||||||
|
enc->codec_id == CODEC_ID_MP3 ||
|
||||||
enc->codec_id == CODEC_ID_SPEEX))
|
enc->codec_id == CODEC_ID_SPEEX))
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user