[Ffmpeg-devel] [PATCH] return correct decoded size in amr.c
Thu Apr 5 09:05:27 CEST 2007
Benoit Fouet wrote:
> Michael Niedermayer wrote:
>> On Tue, Apr 03, 2007 at 09:43:29PM +0200, Benoit Fouet wrote:
>>> 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...
>> looks ok assuming it works
> i've tested it on all bitrates here, didn't see any problem, if someone
> want to give it a try to confirm, i can provide samples.
well, here is the updated patch against svn head (as the other patches
have been applied before this one :) )
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 399 bytes
Desc: not available
More information about the ffmpeg-devel