projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a52000f
)
fix reading of samples-per-frame
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 11 May 2008 04:25:34 +0000
(
04:25
+0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 11 May 2008 04:25:34 +0000
(
04:25
+0000)
Originally committed as revision 13111 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/alac.c
patch
|
blob
|
history
diff --git
a/libavcodec/alac.c
b/libavcodec/alac.c
index 65a74d76e6080d416590f5b2e7e006716e9b00e3..23037a5d6f251d34a41c0762f1ff026935f248bf 100644
(file)
--- 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;