Mercurial > mplayer.hg
changeset 34991:d0223a72b0ba
Fix normalize_yuvp16 to work for big-endian formats.
author | reimar |
---|---|
date | Mon, 13 Aug 2012 20:58:07 +0000 |
parents | 8c607010a960 |
children | 559fc479b2ef |
files | libmpcodecs/img_format.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/img_format.h Sun Aug 12 18:15:13 2012 +0000 +++ b/libmpcodecs/img_format.h Mon Aug 13 20:58:07 2012 +0000 @@ -222,7 +222,7 @@ static inline int normalize_yuvp16(int fmt) { if (IMGFMT_IS_YUVP16_LE(fmt)) return (fmt & 0x00ffffff) | 0x51000000; - if (IMGFMT_IS_YUVP16_LE(fmt)) + if (IMGFMT_IS_YUVP16_BE(fmt)) return (fmt & 0xffffff00) | 0x00000051; return 0; }