diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-04-27 21:36:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-27 21:36:30 +0200 |
commit | e91946ed23dfbb9a6341266020ed8475ec15697d (patch) | |
tree | d30938a1e4b7b2cf903ed0211d37fc333d323449 /libswscale/swscale_template.c | |
parent | 52a81cd0e413eb54f8d96a79d84f588fe01cc0cc (diff) | |
download | ffmpeg-e91946ed23dfbb9a6341266020ed8475ec15697d.tar.gz |
Rename y400a to gray8a.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r-- | libswscale/swscale_template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index d616036646..c269281a14 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -3032,7 +3032,7 @@ static void RENAME(sws_init_swScale)(SwsContext *c) case PIX_FMT_YUV420P16BE: case PIX_FMT_YUV422P16BE: case PIX_FMT_YUV444P16BE: - case PIX_FMT_Y400A : + case PIX_FMT_GRAY8A : case PIX_FMT_GRAY16BE : c->lumToYV12 = RENAME(yuy2ToY); break; case PIX_FMT_UYVY422 : case PIX_FMT_YUV420P16LE: @@ -3067,12 +3067,12 @@ static void RENAME(sws_init_swScale)(SwsContext *c) case PIX_FMT_RGB32_1: case PIX_FMT_BGR32 : case PIX_FMT_BGR32_1: c->alpToYV12 = abgrToA; break; - case PIX_FMT_Y400A : c->alpToYV12 = RENAME(yuy2ToY); break; + case PIX_FMT_GRAY8A : c->alpToYV12 = RENAME(yuy2ToY); break; } } switch (srcFormat) { - case PIX_FMT_Y400A : + case PIX_FMT_GRAY8A : c->alpSrcOffset = 1; break; case PIX_FMT_RGB32 : |