Mercurial > libavformat.hg
changeset 5696:bbe5b963f736 libavformat
Make sure mp1/mp2 get their frame_size set.
Fixes issue1696
| author | michael |
|---|---|
| date | Mon, 22 Feb 2010 22:05:20 +0000 |
| parents | 25062326d2f9 |
| children | 484fceabfad2 |
| files | utils.c |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Mon Feb 22 21:28:19 2010 +0000 +++ b/utils.c Mon Feb 22 22:05:20 2010 +0000 @@ -1914,6 +1914,8 @@ 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;
