[FFmpeg-devel] [PATCH 3/3] lavd/v4l2: simplify return value checks

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 16 01:13:18 CET 2013


Stephan Hilb <stephan <at> ecshi.net> writes:

> -    fd = v4l2_open(ctx->filename, flags, 0);
> -    if (fd < 0) {
> +    if ((fd = v4l2_open(ctx->filename, flags, 0)) < 0) {

I fear one could say that it was decided yesterday that 
such changes are not welcome;-(

If nobody objects (or beats me), I will commit the other 
patches in the next days.

Sorry, Carl Eugen



More information about the ffmpeg-devel mailing list