Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-04-15 22:26:04 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-04-15 22:26:04 +0300
commita676c29af5eeafa2e33acb6e6292c9717ae54796 (patch)
tree2b446e3e4486fe2ad1f8518543564c61dddbe311 /libavformat/bink.c
parent6d39132fd4af51dfaa86d66bd3e8be59714d2647 (diff)
lavf/bink: Cosmetics: Reindent after last commit.
Diffstat (limited to 'libavformat/bink.c')
-rw-r--r--libavformat/bink.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavformat/bink.c b/libavformat/bink.c
index 646d874461..c3bf9674fb 100644
--- a/libavformat/bink.c
+++ b/libavformat/bink.c
@@ -65,16 +65,16 @@ static int probe(AVProbeData *p)
int smush = AV_RN32(p->buf) == AV_RN32("SMUS");
do {
- if (((b[0] == 'B' && b[1] == 'I' && b[2] == 'K' &&
- (b[3] == 'b' || b[3] == 'f' || b[3] == 'g' || b[3] == 'h' || b[3] == 'i')) ||
- (b[0] == 'K' && b[1] == 'B' && b[2] == '2' && /* Bink 2 */
- (b[3] == 'a' || b[3] == 'd' || b[3] == 'f' || b[3] == 'g'))) &&
- AV_RL32(b+8) > 0 && // num_frames
- AV_RL32(b+20) > 0 && AV_RL32(b+20) <= BINK_MAX_WIDTH &&
- 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;
+ if (((b[0] == 'B' && b[1] == 'I' && b[2] == 'K' &&
+ (b[3] == 'b' || b[3] == 'f' || b[3] == 'g' || b[3] == 'h' || b[3] == 'i')) ||
+ (b[0] == 'K' && b[1] == 'B' && b[2] == '2' && /* Bink 2 */
+ (b[3] == 'a' || b[3] == 'd' || b[3] == 'f' || b[3] == 'g'))) &&
+ AV_RL32(b+8) > 0 && // num_frames
+ AV_RL32(b+20) > 0 && AV_RL32(b+20) <= BINK_MAX_WIDTH &&
+ 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;
} while (smush && b < p->buf + p->buf_size - 32);
return 0;
}