lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [MPlayer-dev-eng] [PATCH] Fix packed YUV in dshow vo



On Sun, Oct 05, 2008 at 11:04:22AM +0200, Sascha Sommer wrote:
> Not sure if MPlayer defines a MIN macro. If not you might introduce one in 
> vo_directx.c. You can then simply use
> 
> 			minStride = MIN(srcStride,dstStride);
> 
> instead of the if else block above.

Please use FFMIN from libavutil (you might have to include
libavutil/common.h).
Maybe that header is a bit overkill but it is better than
duplicated/obfuscated code IMO.
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng