On 6/22/2015 1:32 PM, Vittorio Giovara wrote:
> video_decode_example can return -1 on error, and this is lost, so
> you'd better do "return video_decode_example(argv[1]);" to return the
> value to the caller. Also sometimes you exit(1) and sometimes you
> return -1, maybe you could go with only one of them.

You shouldn't return -1 as a process exit code. This is a reserved value
for proc return codes in POSIX.

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to