[Ffmpeg-devel] [FWD] [PATCH] immediate decoding of dvd stills

Nico Sabbi nicola_sabbi
Tue Nov 28 23:30:54 CET 2006


Nico Sabbi wrote:
> Michael Niedermayer wrote:
> 
>> something like:
>>
>> -    if (buf_size == 0) {
>> +    if (buf_size == 0 || !memcmp(buf, (char[]){0,0,1,BF}, 4) {
>>         /* special case for last picture */
>>         if (s2->low_delay==0 && s2->next_picture_ptr) {
>>
>> [...]
> 
> 
> 
> updated
> 
> -    if (buf_size == 0) {
> +    if(!memcmp(buf, (char[]){0,0,1,0xB7}, 4))
> +        endsequence = 1;

idiot me; patch fixed.
No regression reported by make test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpeg12still.diff
Type: text/x-patch
Size: 1248 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061128/09c70a89/attachment.bin>



More information about the ffmpeg-devel mailing list