|
|
@@ -4419,7 +4419,10 @@ static int mov_read_custom(MOVContext *c, AVIOContext *pb, MOVAtom atom) |
|
|
static int mov_read_meta(MOVContext *c, AVIOContext *pb, MOVAtom atom) |
|
|
static int mov_read_meta(MOVContext *c, AVIOContext *pb, MOVAtom atom) |
|
|
{ |
|
|
{ |
|
|
while (atom.size > 8) { |
|
|
while (atom.size > 8) { |
|
|
uint32_t tag = avio_rl32(pb); |
|
|
|
|
|
|
|
|
uint32_t tag; |
|
|
|
|
|
if (avio_feof(pb)) |
|
|
|
|
|
return AVERROR_EOF; |
|
|
|
|
|
tag = avio_rl32(pb); |
|
|
atom.size -= 4; |
|
|
atom.size -= 4; |
|
|
if (tag == MKTAG('h','d','l','r')) { |
|
|
if (tag == MKTAG('h','d','l','r')) { |
|
|
avio_seek(pb, -8, SEEK_CUR); |
|
|
avio_seek(pb, -8, SEEK_CUR); |
|
|
|