]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libopenh264enc.c
avcodec/noise_bsf: Remove unnecessary headers
[ffmpeg] / libavcodec / libopenh264enc.c
index 5baa423433dac6e827a46e61aa6e3a511edaa616..dd5d4ee7b9a7d67de515cdf2fc7422b1773b2ee1 100644 (file)
@@ -75,7 +75,7 @@ static const AVOption options[] = {
 };
 
 static const AVClass class = {
-    .class_name = "libvo_amrwbenc",
+    .class_name = "libopenh264enc",
     .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
@@ -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;