[FFmpeg-cvslog] r18454 - trunk/libavformat/mpegts.c
bcoudurier
subversion
Sun Apr 12 03:37:34 CEST 2009
Author: bcoudurier
Date: Sun Apr 12 03:37:34 2009
New Revision: 18454
Log:
fix end of buffer check, fix hang_read_header.h264.ts
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c Sun Apr 12 02:25:37 2009 (r18453)
+++ trunk/libavformat/mpegts.c Sun Apr 12 03:37:34 2009 (r18454)
@@ -555,7 +555,7 @@ static void pmt_cb(MpegTSFilter *filter,
if (desc_list_len < 0)
break;
desc_list_end = p + desc_list_len;
- if (desc_list_end > p_end)
+ if (desc_list_end >= p_end)
break;
for(;;) {
desc_tag = get8(&p, desc_list_end);
More information about the ffmpeg-cvslog
mailing list