[FFmpeg-devel] [PATCH] libavformat: Add H264 API test
Vittorio Giovara
vittorio.giovara at gmail.com
Mon Jun 22 16:03:31 CEST 2015
On Mon, Jun 22, 2015 at 2:50 PM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> On 6/22/2015 2:46 PM, Vittorio Giovara wrote:
>> afaik in POSIX any non zero value is to be considered an error, also
>> because value ranges on an unsigned byte.
>
> -1 ends up greater than 128, which is reserved by POSIX for system
> signal info (SIGKILL and pals).
'k
the return value of video_decode_example() should still be checked
though (and maybe use the EXIT_* macros then?)
--
Vittorio
More information about the ffmpeg-devel
mailing list