diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-05-11 08:25:34 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-05-11 08:25:34 +0400 |
commit | 59d598b923a3321989c37583d237e72a963c83d3 (patch) | |
tree | 8d1276130367e60d6d1ddb639382a98b4d8fa84f /libavcodec/alac.c | |
parent | a52000f2910307857de41baeb5f17fa168b5fd75 (diff) |
fix reading of samples-per-frame
Originally committed as revision 13111 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 65a74d76e6..23037a5d6f 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -457,7 +457,7 @@ static int alac_decode_frame(AVCodecContext *avctx, if (hassize) { /* now read the number of samples as a 32bit integer */ - outputsamples = get_bits(&alac->gb, 32); + outputsamples = get_bits_long(&alac->gb, 32); if(outputsamples > alac->setinfo_max_samples_per_frame){ av_log(avctx, AV_LOG_ERROR, "outputsamples %d > %d\n", outputsamples, alac->setinfo_max_samples_per_frame); return -1; |