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:
e8d0041
)
Return correct decoded size, decoder is called with only one frame at a time.
author
Benoit Fouet
<benoit.fouet@purplelabs.com>
Fri, 6 Apr 2007 10:37:34 +0000
(10:37 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 6 Apr 2007 10:37:34 +0000
(10:37 +0000)
patch by Benoit Fouet, benoit.fouet purplelabs com
Originally committed as revision 8633 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/amr.c
patch
|
blob
|
history
diff --git
a/libavcodec/amr.c
b/libavcodec/amr.c
index
8486cb3
..
46c35d4
100644
(file)
--- a/
libavcodec/amr.c
+++ b/
libavcodec/amr.c
@@
-308,7
+308,7
@@
static int amr_nb_decode_frame(AVCodecContext * avctx,
}
//Each AMR-frame results in 160 16-bit samples
- *data_size
+
=160*2;
+ *data_size=160*2;
/* if not homed: check whether current frame is a homing frame */
if (s->reset_flag_old == 0)