[FFmpeg-devel] [PATCH 2/2] dnn_backend_native: check operand index

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Jun 16 13:57:05 EEST 2020



> Am 16.06.2020 um 10:18 schrieb Guo, Yejun <yejun.guo at intel.com>:
> 
> I personally like to always add '{}' to avoid possible mistakes when we change code in the future. Some coding styles also recommend this method.
> 
> I checked at http://ffmpeg.org/developer.html#Coding-Rules and do not find an explicit description. But I just remembered that someone also mentioned this some time ago. I'll change to this style in v2 if no support from others for my style.

I support your style but it is only the file maintainer‘s decision.

Carl Eugen


More information about the ffmpeg-devel mailing list