This reverts commit 66f71f3b5e2e7b6e5049bd9831c371e16aff8a53. This causes regressions with RDT.
Unified · Split
| @@ -24,7 +24,6 @@ · 23 unmodified lines | |||
| 24 | #include "libavutil/dict.h" | 24 | #include "libavutil/dict.h" |
| 25 | #include "avformat.h" | 25 | #include "avformat.h" |
| 26 | #include "internal.h" | 26 | #include "internal.h" |
| 27 | #include "avio_internal.h" | ||
| 28 | #include "riff.h" | 27 | #include "riff.h" |
| 29 | #include "rm.h" | 28 | #include "rm.h" |
| 30 | 29 | ||
| @@ -613,7 +612,6 @@ static int rm_assemble_video_frame(AVFormatContext *s, AVIOContext *pb, · 582 unmodified lines | |||
| 613 | } | 612 | } |
| 614 | if(type != 1){ // not whole frame | 613 | if(type != 1){ // not whole frame |
| 615 | len2 = get_num(pb, &len); | 614 | len2 = get_num(pb, &len); |
| 616 | len2 = ffio_limit(pb, len2); | ||
| 617 | pos = get_num(pb, &len); | 615 | pos = get_num(pb, &len); |
| 618 | pic_num = avio_r8(pb); len--; | 616 | pic_num = avio_r8(pb); len--; |
| 619 | } | 617 | } |