changeset 5313:af8dbf123fc8 libavformat

request mp3 frame_size to be set in has_codec_parameters, fix issue #1314
author bcoudurier
date Mon, 19 Oct 2009 18:53:32 +0000
parents 2fe354e262ab
children 3000edd97499
files utils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Oct 19 02:20:08 2009 +0000
+++ b/utils.c	Mon Oct 19 18:53:32 2009 +0000
@@ -1884,6 +1884,7 @@
         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;