You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
rmdec: Honor .RMF tag size rather than assuming 18.
This commit is contained in:
@@ -438,10 +438,8 @@ static int rm_read_header(AVFormatContext *s)
|
|||||||
return AVERROR(EIO);
|
return AVERROR(EIO);
|
||||||
}
|
}
|
||||||
|
|
||||||
avio_rb32(pb); /* header size */
|
tag_size = avio_rb32(pb);
|
||||||
avio_rb16(pb);
|
avio_skip(pb, tag_size - 8);
|
||||||
avio_rb32(pb);
|
|
||||||
avio_rb32(pb); /* number of headers */
|
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if (pb->eof_reached)
|
if (pb->eof_reached)
|
||||||
|
Reference in New Issue
Block a user