[FFmpeg-devel] [PATCH]VDPAU patch for h264 decoding, round 8

Jason Garrett-Glaser darkshikari
Mon Jan 5 01:00:01 CET 2009


On Sun, Jan 4, 2009 at 5:52 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sun, Jan 04, 2009 at 08:14:56PM +0100, Carl Eugen Hoyos wrote:
>> Hi!
>>
>> I created an additional header vdpau_internal.h for the definitions of
>> various ff_VDPAU functions.
>> doxygen output is unchanged, /* @}*/ is allowed:
>> http://www.stack.nl/~dimitri/doxygen/grouping.html
>>
>> Regression tests and hw decoding both work.
>>
>> Please comment, Carl Eugen
>
> I think the patch looks ok

if (!avctx->codec_id == CODEC_ID_H264_VDPAU && !FIELD_PICTURE)

This looks wrong.

Are we sure it shouldn't be

if (avctx->codec_id != CODEC_ID_H264_VDPAU && !FIELD_PICTURE)

?

Dark Shikari




More information about the ffmpeg-devel mailing list