[FFmpeg-devel] [PATCH] Document avcodec_close().

Michael Niedermayer michaelni
Sun Dec 5 01:18:52 CET 2010


On Sat, Dec 04, 2010 at 07:38:54PM +0100, Stefano Sabatini wrote:
> ---
[...]
> + * @return 0 in case of success, a negative AVERROR code in case of
> + * failure

you always make the same mistake
success is >= 0 for ABI flexibility

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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101205/9bb545d4/attachment.pgp>



More information about the ffmpeg-devel mailing list