[FFmpeg-devel] API breakage by r9870

Michael Niedermayer michaelni
Fri Oct 5 17:25:53 CEST 2007


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071005/0c29d470/attachment.pgp>



More information about the ffmpeg-devel mailing list