[FFmpeg-devel] [PATCH]ffmpeg: Check the return values of two functions

Marton Balint cus at passwd.hu
Sun Feb 12 18:12:13 EET 2017


On Sun, 12 Feb 2017, Carl Eugen Hoyos wrote:

> Hi!
>
> Attached patch written yesterday silences warnings when compiling
> ffmpeg.c, don't know how useful it is, only fate-tested.

Writing a warning about the failed filter functions is good, but ffmpeg 
has a -xerror option as well, so I guess the proper fix would be to 
propagate the error through the functions and fail the encoding process as 
well if -xerror is set.

Regards,
Marton


More information about the ffmpeg-devel mailing list