[FFmpeg-trac] #441(avcodec:open): MPEG audio decoder prints "incorrect frame size" error for valid code

FFmpeg trac at avcodec.org
Wed Sep 7 01:59:10 CEST 2011


#441: MPEG audio decoder prints "incorrect frame size" error for valid code
--------------------------------+-----------------------------------
             Reporter:  chrisr  |                    Owner:
                 Type:  defect  |                   Status:  open
             Priority:  normal  |                Component:  avcodec
              Version:  0.7.3   |               Resolution:
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+-----------------------------------

Comment (by chrisr):

 Eh? I'm raising a bug against libavcodec, not ffmpeg. Isn't libavcodec
 supposed to be linkable against other applications? And as for git-head:

 http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/mpegaudiodec.c;h=56a48ce71bd8b6c05a65866545b5be3ee289bbb4;hb=HEAD

 The superfluous error message is still clearly visible at line 1812:

 {{{
 1808     if(s->frame_size<=0 || s->frame_size > buf_size){
 1809         av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
 1810         return -1;
 1811     }else if(s->frame_size < buf_size){
 1812         av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
 1813         buf_size= s->frame_size;
 1814     }
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/441#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list