# HG changeset patch # User iive # Date 1234654284 0 # Node ID 2778b008536caef73e202cd7f3aab029fbf1d856 # Parent 3798785e4eb75bb8192420b937bf1d4c5af79e15 Remove some xvmc field initializations. They are not used by the libavcodec decoder. They are a copy of the queried surface and are meaningful only for pixel format selection, not during decoding. diff -r 3798785e4eb7 -r 2778b008536c libvo/vo_xvmc.c --- a/libvo/vo_xvmc.c Sat Feb 14 22:21:55 2009 +0000 +++ b/libvo/vo_xvmc.c Sat Feb 14 23:31:24 2009 +0000 @@ -533,9 +533,7 @@ surface_render[i].mv_blocks = mv_blocks.macro_blocks; surface_render[i].total_number_of_mv_blocks = numblocks; surface_render[i].total_number_of_data_blocks = numblocks*blocks_per_macroblock;; - surface_render[i].mc_type = surface_info.mc_type & (~XVMC_IDCT); surface_render[i].idct = (surface_info.mc_type & XVMC_IDCT) == XVMC_IDCT; - surface_render[i].chroma_format = surface_info.chroma_format; surface_render[i].unsigned_intra = (surface_info.flags & XVMC_INTRA_UNSIGNED) == XVMC_INTRA_UNSIGNED; surface_render[i].p_surface = &surface_array[i]; if( mp_msg_test(MSGT_VO,MSGL_DBG4) )