summaryrefslogtreecommitdiff
path: root/libavcodec/argo.c
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-07-18 09:18:47 +1000
committerZane van Iperen <zane@zanevaniperen.com>2021-07-19 14:14:35 +1000
commitf687f8e0d3a5a4b2f0159a6b83e57f9df9a15f62 (patch)
treefdd73f28a50da8e255fd83744f0e3d756c9f263c /libavcodec/argo.c
parent55801421b35edc8cc055e314b33f04d30d5f1a3d (diff)
avcodec/argo: use bits_per_coded_sample instead of bits_per_raw_sample
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavcodec/argo.c')
-rw-r--r--libavcodec/argo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/argo.c b/libavcodec/argo.c
index 87c646f56c..057100bd12 100644
--- a/libavcodec/argo.c
+++ b/libavcodec/argo.c
@@ -676,12 +676,12 @@ static av_cold int decode_init(AVCodecContext *avctx)
{
ArgoContext *s = avctx->priv_data;
- switch (avctx->bits_per_raw_sample) {
+ switch (avctx->bits_per_coded_sample) {
case 8: s->bpp = 1;
avctx->pix_fmt = AV_PIX_FMT_PAL8; break;
case 24: s->bpp = 4;
avctx->pix_fmt = AV_PIX_FMT_BGR0; break;
- default: avpriv_request_sample(s, "depth == %u", avctx->bits_per_raw_sample);
+ default: avpriv_request_sample(s, "depth == %u", avctx->bits_per_coded_sample);
return AVERROR_PATCHWELCOME;
}