[FFmpeg-cvslog] lavc/tscc: Make 32bit output opaque.
Carl Eugen Hoyos
git at videolan.org
Fri Feb 6 22:58:14 CET 2015
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Feb 6 21:02:08 2015 +0100| [d45fadb6df484b1c68867220f9c66890b7d29458] | committer: Carl Eugen Hoyos
lavc/tscc: Make 32bit output opaque.
Found-by: wm4
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d45fadb6df484b1c68867220f9c66890b7d29458
---
libavcodec/tscc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index 628a6b3..f9b325b 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;
}
More information about the ffmpeg-cvslog
mailing list