You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/libopenh264enc: fix the if-else coding style
Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
@@ -199,8 +199,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
param.sSpatialLayers[0].eAspectRatio = asp_idc[i];
|
||||
}
|
||||
param.sSpatialLayers[0].bAspectRatioPresent = true;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
param.sSpatialLayers[0].bAspectRatioPresent = false;
|
||||
}
|
||||
#endif
|
||||
@@ -227,7 +226,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
|
||||
if (s->slice_mode == SM_SIZELIMITED_SLICE) {
|
||||
if (s->max_nal_size){
|
||||
if (s->max_nal_size) {
|
||||
param.uiMaxNalSize = s->max_nal_size;
|
||||
#if OPENH264_VER_AT_LEAST(1, 6)
|
||||
param.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = s->max_nal_size;
|
||||
|
Reference in New Issue
Block a user