Commit 9c4af995 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '704d2bd1'

* commit '704d2bd1':
  mov: Print reason of loci parsing failure

See 9e4f0cfcMerged-by: 's avatarClément Bœsch <clement@stupeflix.com>
parents 6dd80591 704d2bd1
......@@ -243,7 +243,8 @@ static int mov_metadata_loci(MOVContext *c, AVIOContext *pb, unsigned len)
len -= 1;
if (len < 12) {
av_log(c->fc, AV_LOG_ERROR, "no space for coordinates left (%d)\n", len);
av_log(c->fc, AV_LOG_ERROR,
"loci too short (%u bytes left, need at least %d)\n", len, 12);
return AVERROR_INVALIDDATA;
}
longitude = ((int32_t) avio_rb32(pb)) / (float) (1 << 16);
......
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