]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/apedec: export bits_per_raw_sample
authorPaul B Mahol <onemda@gmail.com>
Sun, 14 Feb 2021 17:54:59 +0000 (18:54 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 14 Feb 2021 17:59:28 +0000 (18:59 +0100)
Fixes #4717

libavcodec/apedec.c

index 388d851d0396323e1645951a02154daf87d3544a..e0c6b6bb8b85f89e84ef1848fc28945322482ce6 100644 (file)
@@ -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: