avformat/argo_brp: use bits_per_coded_sample instead of bits_per_raw_sample

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
Zane van Iperen 2021-07-18 09:27:11 +10:00
parent f687f8e0d3
commit 981d49e373
No known key found for this signature in database
GPG Key ID: 68616B2D8AC4DCC5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 59
#define LIBAVFORMAT_VERSION_MINOR 4
#define LIBAVFORMAT_VERSION_MICRO 100
#define LIBAVFORMAT_VERSION_MICRO 101
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \