changeset 28535:2778b008536c

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.
author iive
date Sat, 14 Feb 2009 23:31:24 +0000
parents 3798785e4eb7
children 16e053ad9788
files libvo/vo_xvmc.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) )