aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-24 17:20:29 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-24 17:21:17 +0000
commitf6d633d72686e89503dcdf0709e8d4da59ffca0b (patch)
treefd152f84dff262bb33f2fa8eee90faeb326c5927
parent33215d3c4898165a9535f5dc3cdd40f7f041f3f3 (diff)
parentb92962436bdcfae478c8598dca397a397762eef8 (diff)
downloadffmpeg-f6d633d72686e89503dcdf0709e8d4da59ffca0b.tar.gz
Merge commit 'b92962436bdcfae478c8598dca397a397762eef8'
* commit 'b92962436bdcfae478c8598dca397a397762eef8': mov: Fix the format specifier type for size Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavformat/mov.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1d0077e695..b1a2ea7719 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2169,8 +2169,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
avio_rb32(pb); /* reserved */
avio_rb16(pb); /* reserved */
dref_id = avio_rb16(pb);
- }else if (size <= 7){
- av_log(c->fc, AV_LOG_ERROR, "invalid size %"PRId64" in stsd\n", size);
+ } else if (size <= 7) {
+ av_log(c->fc, AV_LOG_ERROR,
+ "invalid size %"PRId64" in stsd\n", size);
return AVERROR_INVALIDDATA;
}