Commit f6d633d7 authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'b9296243'

* commit 'b9296243':
  mov: Fix the format specifier type for size
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents 33215d3c b9296243
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment