[MPlayer-dev-eng] [PATCH] Fix packed YUV in dshow vo
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Oct 5 12:03:28 CEST 2008
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.
More information about the MPlayer-dev-eng
mailing list