From 78821da34356c1700695f19923e4e8b130b96963 Mon Sep 17 00:00:00 2001 From: Adriano Pallavicino <adriano.pallavic...@gmail.com> Date: Sun, 2 Oct 2016 18:16:21 +0200 Subject: [PATCH] Fix warning: [-Wmisleading-indentation] bink.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
This is output of gcc: libavformat/bink.c:68:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (((b[0] == 'B' && b[1] == 'I' && b[2] == 'K' && ^~ libavformat/bink.c:77:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ b += SMUSH_BLOCK_SIZE; Changes to be committed: modified: libavformat/bink.c Signed-off-by: Adriano Pallavicino <adriano.pallavic...@gmail.com> --- libavformat/bink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/bink.c b/libavformat/bink.c index c214eb3..e6f0cb7 100644 --- a/libavformat/bink.c +++ b/libavformat/bink.c @@ -74,7 +74,7 @@ static int probe(AVProbeData *p) AV_RL32(b+24) > 0 && AV_RL32(b+24) <= BINK_MAX_HEIGHT && AV_RL32(b+28) > 0 && AV_RL32(b+32) > 0) // fps num,den return AVPROBE_SCORE_MAX; - b += SMUSH_BLOCK_SIZE; + b += SMUSH_BLOCK_SIZE; } while (smush && b < p->buf + p->buf_size - 32); return 0; } -- 2.7.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel