diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-02-06 21:02:08 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-02-06 21:02:08 +0100 |
commit | d45fadb6df484b1c68867220f9c66890b7d29458 (patch) | |
tree | 44268ff37d7ebba64bd2347a4b4e700b87c220a3 /libavcodec/tscc.c | |
parent | 510b39c2137b79829294361c1ffece06e89e5fa6 (diff) | |
download | ffmpeg-d45fadb6df484b1c68867220f9c66890b7d29458.tar.gz |
lavc/tscc: Make 32bit output opaque.
Found-by: wm4
Diffstat (limited to 'libavcodec/tscc.c')
-rw-r--r-- | libavcodec/tscc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 628a6b3c36..f9b325b68d 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -133,7 +133,7 @@ static av_cold int decode_init(AVCodecContext *avctx) case 24: avctx->pix_fmt = AV_PIX_FMT_BGR24; break; - case 32: avctx->pix_fmt = AV_PIX_FMT_RGB32; break; + case 32: avctx->pix_fmt = AV_PIX_FMT_0RGB32; break; default: av_log(avctx, AV_LOG_ERROR, "Camtasia error: unknown depth %i bpp\n", avctx->bits_per_coded_sample); return AVERROR_PATCHWELCOME; } |