diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-12 18:10:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-12 21:47:19 +0200 |
commit | e1746d057b2238c6d954cd7082c50cf956fcfe9d (patch) | |
tree | cb3bdf135dcded4bb8b05e7979be05094a6ada94 /libswscale/yuv2rgb.c | |
parent | e41cd3cdeb495d295d252682091022a3445806c5 (diff) | |
download | ffmpeg-e1746d057b2238c6d954cd7082c50cf956fcfe9d.tar.gz |
swscale: RGBA64 output
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index dd33f4731b..6d542937bc 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -893,6 +893,7 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], fill_gv_table(c->table_gV, 1, cgv); break; case 32: + case 64: base = (c->dstFormat == AV_PIX_FMT_RGB32_1 || c->dstFormat == AV_PIX_FMT_BGR32_1) ? 8 : 0; rbase = base + (isRgb ? 16 : 0); |