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
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 frame613 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 }

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