[FFmpeg-cvslog] r26289 - trunk/libavcodec/truemotion2.c

Kostya kostya.shishkov
Mon Jan 10 07:12:57 CET 2011


On Sun, Jan 09, 2011 at 09:41:52PM +0100, Stefano Sabatini wrote:
[...]
> 
> People, plese try to use meaningful error codes, they help calling
> code to detect and report which is the cause of the problem, -1
> corresponds to EPERM which is not the correct reason most of the
> times.

This idea has not been bikeshedded enough. But in general who cares what
error was returned by decoder? -1 is just our way to say "generic error,
we don't care about actual code"



More information about the ffmpeg-cvslog mailing list