[MPlayer-dev-eng] [PATCH] Supporting DMO decoder from WMP11, multithreaded WMV3/VC1 decoding

Uoti Urpala uoti.urpala at pp1.inet.fi
Mon Jan 12 03:04:10 CET 2009


On Mon, 2009-01-12 at 09:45 +0800, Zhou Zongyi wrote:
> Part1: Disable debug codes from loader/dmo/dmo.c. They do nothing but break initialization of DMO filters. 
> 
> Index: loader/dmo/dmo.c  
> ===================================================================  
> --- loader/dmo/dmo.c (revision 28288)  
> +++ loader/dmo/dmo.c (working copy)  
> @@ -112,6 +112,7 @@  
>       break;  
>   }  
>    
> +#if 0  
>   if (0) {  

This would disable the only use of the out_fmt function parameter. Is
that parameter useless?

Also after this change 4 lines of code would be triply disabled: the
code is between comment markers, which are inside "if (0)", which is
inside "#if 0". Maybe that code could be either deleted or the nesting
reduced a bit?




More information about the MPlayer-dev-eng mailing list