[Ffmpeg-devel] avcodec_decode_video/audio return values

Richard Khoury richiek
Mon Oct 9 08:02:18 CEST 2006


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?

Thanks,
RichieK.





More information about the ffmpeg-devel mailing list