mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/tscc: Make 32bit output opaque.
Found-by: wm4
This commit is contained in:
parent
510b39c213
commit
d45fadb6df
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user