[FFmpeg-cvslog] libopenh264enc: Fix inconsistent whitespace

Martin Storsjö git at videolan.org
Fri Oct 7 14:23:57 EEST 2016


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jun 24 01:06:12 2016 +0300| [31aa5335c390c83a6c3ea955b155067c36c4a2c4] | committer: Martin Storsjö

libopenh264enc: Fix inconsistent whitespace

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=31aa5335c390c83a6c3ea955b155067c36c4a2c4
---

 libavcodec/libopenh264enc.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index daab41f..01cb6fb 100644
--- a/libavcodec/libopenh264enc.c
+++ b/libavcodec/libopenh264enc.c
@@ -184,8 +184,10 @@ FF_ENABLE_DEPRECATION_WARNINGS
     param.sSpatialLayers[0].iSpatialBitrate     = param.iTargetBitrate;
     param.sSpatialLayers[0].iMaxSpatialBitrate  = param.iMaxBitrate;
 
-    if ((avctx->slices > 1) && (s->max_nal_size)){
-        av_log(avctx,AV_LOG_ERROR,"Invalid combination -slices %d and -max_nal_size %d.\n",avctx->slices,s->max_nal_size);
+    if ((avctx->slices > 1) && (s->max_nal_size)) {
+        av_log(avctx, AV_LOG_ERROR,
+               "Invalid combination -slices %d and -max_nal_size %d.\n",
+               avctx->slices, s->max_nal_size);
         goto fail;
     }
 



More information about the ffmpeg-cvslog mailing list