[Ffmpeg-devel] [PATCH] return correct decoded size in amr.c

Benoit Fouet benoit.fouet
Tue Apr 3 21:43:29 CEST 2007


following this thread (actually, a part of it, as the OP broke it :) ):
here is a patch to amr.c against r8618

i hesitated between changing the:
"*data_size+=160*2;" to "*data_size=160*2"
or initialize "*data_size=0" at the beginning of the function

i chose the latter, as for what i understand, decoder is called with
only one frame at a time...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: amr.c.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070403/90304cd6/attachment.bin>

More information about the ffmpeg-devel mailing list