[FFmpeg-devel] [PATCH 2/2] Increase TS packet size detection buffer.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Apr 24 17:35:35 CEST 2011


Fixes warning message with ticket #68.
---
 libavformat/mpegts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index aea7af3..ba43f6f 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1453,7 +1453,7 @@ static int mpegts_read_header(AVFormatContext *s,
 {
     MpegTSContext *ts = s->priv_data;
     AVIOContext *pb = s->pb;
-    uint8_t buf[5*1024];
+    uint8_t buf[8*1024];
     int len;
     int64_t pos;
 
-- 
1.7.4.4



More information about the ffmpeg-devel mailing list