Skip to content

Commit

Permalink
lavc/tscc: Make 32bit output opaque.
Browse files Browse the repository at this point in the history
Found-by: wm4
  • Loading branch information
cehoyos committed Feb 6, 2015
1 parent 510b39c commit d45fadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/tscc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d45fadb

Please sign in to comment.