[FFmpeg-devel] [PATCH] avcodec_decode_audio3 and multiple frames in a packet

Michael Niedermayer michaelni
Sat Sep 12 03:58:06 CEST 2009


On Fri, Sep 11, 2009 at 12:13:02PM +0200, Sascha Sommer wrote:
[...]
> Previously a value of 0 meant that no frame was decoded.

no
you read the docs backward, it says if no frame was decoded return 0
it does not say that 0 means no frames have been decoded, it could equally
well mean 0 bytes used

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

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090912/3767f358/attachment.pgp>



More information about the ffmpeg-devel mailing list