mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Revert "rmdec: Avoid allocating huge packets"
This reverts commit 66f71f3b5e
.
This causes regressions with RDT.
This commit is contained in:
parent
ad8e3304f7
commit
c4eec85a1f
@ -24,7 +24,6 @@
|
||||
#include "libavutil/dict.h"
|
||||
#include "avformat.h"
|
||||
#include "internal.h"
|
||||
#include "avio_internal.h"
|
||||
#include "riff.h"
|
||||
#include "rm.h"
|
||||
|
||||
@ -613,7 +612,6 @@ static int rm_assemble_video_frame(AVFormatContext *s, AVIOContext *pb,
|
||||
}
|
||||
if(type != 1){ // not whole frame
|
||||
len2 = get_num(pb, &len);
|
||||
len2 = ffio_limit(pb, len2);
|
||||
pos = get_num(pb, &len);
|
||||
pic_num = avio_r8(pb); len--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user