[FFmpeg-devel] [PATCH] h263dec.c: add HW acceleration hooks (take 2)

Gwenole Beauchesne gbeauchesne
Thu Feb 26 13:25:31 CET 2009


On Thu, 26 Feb 2009, Michael Niedermayer wrote:

>> @@ -693,6 +702,11 @@ intrax8_decoded:
>>              return -1;
>>      }
>>
>> +    if (avctx->hwaccel) {
>> +        if (avctx->hwaccel->end_frame(avctx) < 0)
>> +            return -1;
>> +    }
>> +
>>      MPV_frame_end(s);
>>
>>  assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);
>
> is this hunk duplicated maybe?

Indeed, thanks, new patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.hwaccel.mpeg4.2.patch
Type: text/x-diff
Size: 1018 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/f4a7a7b5/attachment.patch>



More information about the ffmpeg-devel mailing list