From 981d49e373b226773e3c572e87691adf1c1d71eb Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Sun, 18 Jul 2021 09:27:11 +1000 Subject: avformat/argo_brp: use bits_per_coded_sample instead of bits_per_raw_sample Signed-off-by: Zane van Iperen --- libavformat/argo_brp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/argo_brp.c') diff --git a/libavformat/argo_brp.c b/libavformat/argo_brp.c index 059418cd1d..2ccdbd3e5b 100644 --- a/libavformat/argo_brp.c +++ b/libavformat/argo_brp.c @@ -230,7 +230,7 @@ static int argo_brp_read_header(AVFormatContext *s) st->codecpar->width = bvid->width; st->codecpar->height = bvid->height; st->nb_frames = bvid->num_frames; - st->codecpar->bits_per_raw_sample = bvid->depth; + st->codecpar->bits_per_coded_sample = bvid->depth; } else if (hdr->codec_id == BRP_CODEC_ID_BASF) { /* * It would make the demuxer significantly more complicated -- cgit v1.2.3