[Ffmpeg-devel] avcodec_decode_video/audio return values

Michael Niedermayer michaelni
Tue Oct 10 08:36:39 CEST 2006


On Mon, Oct 09, 2006 at 04:02:18PM +1000, Richard Khoury wrote:
> Looking at the doxygen documentation I noticed that
> avcodec_decode_audio should return 0 if successful and -1 if not,
> however I've found that this function returns the number of bytes
> used much the same way that avcodec_decode_video is implemented. Is
> this a mistake in documentation or in code?

if thats written in the docs, then the docs are wrong

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list