[FFmpeg-cvslog] alacdec: set bits_per_raw_sample

Justin Ruggles git at videolan.org
Mon Oct 22 15:01:35 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Oct 21 19:18:07 2012 -0400| [46a86c61940ec8efdfa90b23f05c38ecc1184a34] | committer: Justin Ruggles

alacdec: set bits_per_raw_sample

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46a86c61940ec8efdfa90b23f05c38ecc1184a34
---

 libavcodec/alac.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 11f90fc..80f6863 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -574,6 +574,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx)
                                    alac->sample_size);
              return AVERROR_PATCHWELCOME;
     }
+    avctx->bits_per_raw_sample = alac->sample_size;
 
     if (alac->channels < 1) {
         av_log(avctx, AV_LOG_WARNING, "Invalid channel count\n");



More information about the ffmpeg-cvslog mailing list