[FFmpeg-devel] API breakage by r9870

Stefan Lucke stefan
Fri Oct 12 19:56:29 CEST 2007


On Freitag, 5. Oktober 2007, Michael Niedermayer wrote:
> Hi
> 
> On Fri, Oct 05, 2007 at 01:06:47PM +0200, Stefan Lucke wrote:
> > Hi,
> > 
> > I think 2nd part of above change 
> > http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/mpeg12.c?view=diff&r1=9869&r2=9870
> > 
> > breaks api because this from from libavcodec/apiexample.c will loop
> > when there is a trailing stop sequence (size == 4) .
> > 
> >         while (size > 0) {
> >             len = avcodec_decode_video(c, picture, &got_picture,
> >                                        inbuf_ptr, size);
> > 
> > 
> > Attached patch fixes this.
> 
> looks ok
> 
> [...]

Will this find it's way into svn, .. ?

-- 
Stefan Lucke




More information about the ffmpeg-devel mailing list