Mercurial > libavformat.hg
changeset 1126:8ba9a025a342 libavformat
allow packets with non-zero PES_scrambling_control
author | mru |
---|---|
date | Mon, 19 Jun 2006 22:20:38 +0000 |
parents | 6380964c7623 |
children | 62d13f784e01 |
files | mpeg.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;