[FFmpeg-cvslog] r18964 - trunk/libavformat/mpegts.c
bcoudurier
subversion
Wed May 27 03:29:55 CEST 2009
Author: bcoudurier
Date: Wed May 27 03:29:55 2009
New Revision: 18964
Log:
support AVDISCARD_ALL in mpegts demuxer
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c Wed May 27 02:56:31 2009 (r18963)
+++ trunk/libavformat/mpegts.c Wed May 27 03:29:55 2009 (r18964)
@@ -869,7 +869,7 @@ static int mpegts_push_data(MpegTSFilter
pes->header[2] == 0x01) {
/* it must be an mpeg2 PES stream */
code = pes->header[3] | 0x100;
- if (!pes->st ||
+ if (!pes->st || pes->st->discard == AVDISCARD_ALL ||
!((code >= 0x1c0 && code <= 0x1df) ||
(code >= 0x1e0 && code <= 0x1ef) ||
(code == 0x1bd) || (code == 0x1fd)))
More information about the ffmpeg-cvslog
mailing list