[Ffmpeg-cvslog] r5499 - trunk/libavformat/mpeg.c

mru subversion
Tue Jun 20 00:20:38 CEST 2006


Author: mru
Date: Tue Jun 20 00:20:38 2006
New Revision: 5499

Modified:
   trunk/libavformat/mpeg.c

Log:
allow packets with non-zero PES_scrambling_control


Modified: trunk/libavformat/mpeg.c
==============================================================================
--- trunk/libavformat/mpeg.c	(original)
+++ trunk/libavformat/mpeg.c	Tue Jun 20 00:20:38 2006
@@ -1490,10 +1490,12 @@
         len -= 9;
     } else if ((c & 0xc0) == 0x80) {
         /* mpeg 2 PES */
+#if 0 /* some streams have this field set for no apparent reason */
         if ((c & 0x30) != 0) {
             /* Encrypted multiplex not handled */
             goto redo;
         }
+#endif
         flags = get_byte(&s->pb);
         header_len = get_byte(&s->pb);
         len -= 2;




More information about the ffmpeg-cvslog mailing list