[FFmpeg-devel] API breakage by r9870

Ramiro Polla ramiro
Sat Oct 13 03:35:19 CEST 2007


Stefan Lucke wrote:
> 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, .. ?

Regression tests pass, sample from issue19 still works... Applied.




More information about the ffmpeg-devel mailing list