[FFmpeg-cvslog] avcodec/apedec: export bits_per_raw_sample
Paul B Mahol
git at videolan.org
Sun Feb 14 19:59:52 EET 2021
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Feb 14 18:54:59 2021 +0100| [505d6ed4756a68707c26e416646228d5ed31c0f5] | committer: Paul B Mahol
avcodec/apedec: export bits_per_raw_sample
Fixes #4717
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=505d6ed4756a68707c26e416646228d5ed31c0f5
---
libavcodec/apedec.c | 1 +
1 file changed, 1 insertion(+)
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:
More information about the ffmpeg-cvslog
mailing list