History

Revert "rmdec: Avoid allocating huge packets"

This reverts commit 66f71f3b5e2e7b6e5049bd9831c371e16aff8a53. This causes regressions with RDT.

Michael Niedermayer committed 14 years ago

Commit c4eec851 parent ad8e3301 file · +0 −2Browse files

Unified · Split

libavformat/rmdec.c+0−2
@@ -24,7 +24,6 @@ · 23 unmodified lines
2424 #include "libavutil/dict.h"
2525 #include "avformat.h"
2626 #include "internal.h"
27−#include "avio_internal.h"
2827 #include "riff.h"
2928 #include "rm.h"
3029
@@ -613,7 +612,6 @@ static int rm_assemble_video_frame(AVFormatContext *s, AVIOContext *pb, · 582 unmodified lines
613612 }
614613 if(type != 1){ // not whole frame
615614 len2 = get_num(pb, &len);
616− len2 = ffio_limit(pb, len2);
617615 pos = get_num(pb, &len);
618616 pic_num = avio_r8(pb); len--;
619617 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t