[FFmpeg-devel] [PATCH 3/3] lavd/v4l2: simplify return value checks
    Stephan Hilb 
    stephan at ecshi.net
       
    Wed Jan 16 09:01:25 CET 2013
    
    
  
>> -    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;-(
Alright, must've missed that. Is this a general rule? If so, then it
might be added here:
http://ffmpeg.org/developer.html#Development-Policy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130116/151a7a9b/attachment.asc>
    
    
More information about the ffmpeg-devel
mailing list