[FFmpeg-cvslog] r17338 - in trunk/libavcodec: mpegvideo_xvmc.c xvmc.h
Ivan Kalvachev
ikalvachev
Sun Feb 15 19:19:56 CET 2009
On 2/15/09, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sun, Feb 15, 2009 at 06:21:38PM +0100, iive wrote:
>> Author: iive
>> Date: Sun Feb 15 18:21:37 2009
>> New Revision: 17338
>>
>> Log:
>> Kill the magic
>> field in xvmc structure.
>>
>> Modified:
>> trunk/libavcodec/mpegvideo_xvmc.c
>> trunk/libavcodec/xvmc.h
>>
>> Modified: trunk/libavcodec/mpegvideo_xvmc.c
>> ==============================================================================
>> --- trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 17:54:02 2009 (r17337)
>> +++ trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 18:21:37 2009 (r17338)
>> @@ -38,7 +38,7 @@
>> void ff_xvmc_init_block(MpegEncContext *s)
>> {
>> struct xvmc_pixfmt_render *render = (struct
>> xvmc_pixfmt_render*)s->current_picture.data[2];
>> - assert(render && render->magic_id == AV_XVMC_RENDER_MAGIC);
>> + assert(render && render->unique_id == AV_XVMC_RENDER_MAGIC);
>
> i think xvmc_id is a better name,there is nothing unique on it
You should have said that in the initial review,
not play the "guess what I think" game.
More information about the ffmpeg-cvslog
mailing list