diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-02-14 18:54:59 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-02-14 18:59:28 +0100 |
commit | 505d6ed4756a68707c26e416646228d5ed31c0f5 (patch) | |
tree | ce38d9bbe6345a9596b971428b5304fee532314b /libavcodec/apedec.c | |
parent | 5d9f44da460f781a1604d537d0555b78e29438ba (diff) | |
download | ffmpeg-505d6ed4756a68707c26e416646228d5ed31c0f5.tar.gz |
avcodec/apedec: export bits_per_raw_sample
Fixes #4717
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r-- | libavcodec/apedec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 388d851d03..e0c6b6bb8b 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -243,6 +243,7 @@ static av_cold int ape_decode_init(AVCodecContext *avctx) av_log(avctx, AV_LOG_ERROR, "Only mono and stereo is supported\n"); return AVERROR(EINVAL); } + avctx->bits_per_raw_sample = s->bps = avctx->bits_per_coded_sample; switch (s->bps) { case 8: |