# HG changeset patch # User mru # Date 1150755638 0 # Node ID 8ba9a025a3422e7b5808b4d021c3463d4da9ad24 # Parent 6380964c7623943c577d5c849ec0e963b79a91d9 allow packets with non-zero PES_scrambling_control diff -r 6380964c7623 -r 8ba9a025a342 mpeg.c --- a/mpeg.c Mon Jun 19 11:28:28 2006 +0000 +++ b/mpeg.c Mon Jun 19 22:20:38 2006 +0000 @@ -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;