diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-24 17:20:29 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-24 17:21:17 +0000 |
commit | f6d633d72686e89503dcdf0709e8d4da59ffca0b (patch) | |
tree | fd152f84dff262bb33f2fa8eee90faeb326c5927 | |
parent | 33215d3c4898165a9535f5dc3cdd40f7f041f3f3 (diff) | |
parent | b92962436bdcfae478c8598dca397a397762eef8 (diff) | |
download | ffmpeg-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.c | 5 |
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; } |