Browse Source

libopenh264enc: Fix inconsistent whitespace

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n3.2
Martin Storsjö 9 years ago
parent
commit
31aa5335c3
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      libavcodec/libopenh264enc.c

+ 4
- 2
libavcodec/libopenh264enc.c View File

@@ -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;
}



Loading…
Cancel
Save