Commit 4afe193e authored by michael's avatar michael

Make sure mp1/mp2 get their frame_size set.

Fixes issue1696


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21972 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 579296ca
......@@ -1914,6 +1914,8 @@ 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_MP1 ||
enc->codec_id == CODEC_ID_MP2 ||
enc->codec_id == CODEC_ID_MP3 ||
enc->codec_id == CODEC_ID_SPEEX))
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment