diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-06-29 05:56:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-29 05:56:46 +0200 |
commit | 9e17d051ac9b113b70980373b8489ca469505f3f (patch) | |
tree | b12885e7e8ba7bb68a13de3e20dd2fd2f23bf549 /libswscale/utils.c | |
parent | bb9d5171a7352205ac9f09c970e24938fab57165 (diff) | |
download | ffmpeg-9e17d051ac9b113b70980373b8489ca469505f3f.tar.gz |
swscale: Fix yuv422p10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 0679b020ea..bff9f4d3c6 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -119,6 +119,7 @@ const char *swscale_license(void) || (x)==PIX_FMT_YUV420P16LE \ || (x)==PIX_FMT_YUV422P16LE \ || (x)==PIX_FMT_YUV444P16LE \ + || (x)==PIX_FMT_YUV422P10LE \ || (x)==PIX_FMT_YUV420P9BE \ || (x)==PIX_FMT_YUV444P9BE \ || (x)==PIX_FMT_YUV420P10BE \ @@ -127,7 +128,7 @@ const char *swscale_license(void) || (x)==PIX_FMT_YUV420P16BE \ || (x)==PIX_FMT_YUV422P16BE \ || (x)==PIX_FMT_YUV444P16BE \ - || (x)==PIX_FMT_YUV422P10 \ + || (x)==PIX_FMT_YUV422P10BE \ ) int sws_isSupportedInput(enum PixelFormat pix_fmt) @@ -176,12 +177,13 @@ int sws_isSupportedInput(enum PixelFormat pix_fmt) || (x)==PIX_FMT_GRAY8 \ || (x)==PIX_FMT_YUV410P \ || (x)==PIX_FMT_YUV440P \ - || (x)==PIX_FMT_YUV422P10 \ + || (x)==PIX_FMT_YUV422P10LE \ || (x)==PIX_FMT_YUV420P9LE \ || (x)==PIX_FMT_YUV420P10LE \ || (x)==PIX_FMT_YUV420P16LE \ || (x)==PIX_FMT_YUV422P16LE \ || (x)==PIX_FMT_YUV444P16LE \ + || (x)==PIX_FMT_YUV422P10BE \ || (x)==PIX_FMT_YUV420P9BE \ || (x)==PIX_FMT_YUV420P10BE \ || (x)==PIX_FMT_YUV420P16BE \ |