|
@@ -994,7 +994,7 @@ static int mov_read_glbl(MOVContext *c, AVIOContext *pb, MOVAtom atom) |
|
|
return AVERROR_INVALIDDATA; |
|
|
return AVERROR_INVALIDDATA; |
|
|
|
|
|
|
|
|
if (atom.size >= 10) { |
|
|
if (atom.size >= 10) { |
|
|
// Broken files created by legacy versions of Libav and FFmpeg will |
|
|
|
|
|
|
|
|
// Broken files created by legacy versions of libavformat will |
|
|
// wrap a whole fiel atom inside of a glbl atom. |
|
|
// wrap a whole fiel atom inside of a glbl atom. |
|
|
unsigned size = avio_rb32(pb); |
|
|
unsigned size = avio_rb32(pb); |
|
|
unsigned type = avio_rl32(pb); |
|
|
unsigned type = avio_rl32(pb); |
|
|