[FFmpeg-cvslog] swscale/swscale_internal: fix ya16 -> rgba

Michael Niedermayer git at videolan.org
Tue Aug 5 01:51:40 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug  5 01:43:21 2014 +0200| [aee99a5d4406ed302d930eaa8a074ece9c2218a9] | committer: Michael Niedermayer

swscale/swscale_internal: fix ya16 -> rgba

Fixes Ticket644

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aee99a5d4406ed302d930eaa8a074ece9c2218a9
---

 libswscale/swscale_internal.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 5caf2ae..335e1f8 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -778,6 +778,8 @@ static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt)
         || (x)==AV_PIX_FMT_YVYU422     \
         || (x)==AV_PIX_FMT_UYVY422     \
         || (x)==AV_PIX_FMT_YA8       \
+        || (x)==AV_PIX_FMT_YA16LE      \
+        || (x)==AV_PIX_FMT_YA16BE      \
         ||  isRGBinInt(x)           \
         ||  isBGRinInt(x)           \
     )



More information about the ffmpeg-cvslog mailing list