[FFmpeg-devel] [PATCH] Fix Qclp decoder implementation of avcodec_decode_audio3()

Michael Niedermayer michaelni at gmx.at
Thu Sep 8 21:18:02 CEST 2011


On Wed, Sep 07, 2011 at 10:17:30AM +0100, Chris Rankin wrote:
> Hi,
>
> The avcodec_decode_audio3() function documents its return value as:
>
> "On error a negative value is returned, otherwise the number of bytes
> used or zero if no frame data was decompressed (used) from the input
> AVPacket."
>
> However, the Qclp decoder always returns the number of bytes written into 
> the output buffer instead of the number of bytes consumed from the input 
> buffer.
>
> Cheers,
> Chris

>  qcelpdec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 700f003c7074dd09f3524f4e893e8696db24e2ee  QCELPDEC.diff

applied, will push soon

thanks for the bugfix

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110908/a5862ba1/attachment.asc>


More information about the ffmpeg-devel mailing list