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:
cca2adb
)
make decoder decode the first frame properly if theres more than just one
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 27 May 2007 22:34:49 +0000
(22:34 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 27 May 2007 22:34:49 +0000
(22:34 +0000)
frame input
Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index
bfd54d5
..
0cb6476
100644
(file)
--- a/
libavcodec/mpegaudiodec.c
+++ b/
libavcodec/mpegaudiodec.c
@@
-2417,6
+2417,7
@@
retry:
return -1;
}else if(s->frame_size < buf_size){
av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
+ buf_size= s->frame_size;
}
out_size = mp_decode_frame(s, out_samples, buf, buf_size);