[FFmpeg-cvslog] Increase TS packet size detection buffer.

Reimar Döffinger git at videolan.org
Sat May 7 17:39:17 CEST 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Apr 24 17:34:39 2011 +0200| [5631729c3de589b45498af5272b47b0792ca07d4] | committer: Reimar Döffinger

Increase TS packet size detection buffer.

Fixes warning message with ticket #68.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5631729c3de589b45498af5272b47b0792ca07d4
---

 libavformat/mpegts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index caef69d..d03fe19 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1450,7 +1450,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;
 



More information about the ffmpeg-cvslog mailing list