projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1c1c6
)
allow packets with non-zero PES_scrambling_control
author
Måns Rullgård
<mans@mansr.com>
Mon, 19 Jun 2006 22:20:38 +0000
(22:20 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 19 Jun 2006 22:20:38 +0000
(22:20 +0000)
Originally committed as revision 5499 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/mpeg.c
b/libavformat/mpeg.c
index
b3eafe4
..
bf36222
100644
(file)
--- a/
libavformat/mpeg.c
+++ b/
libavformat/mpeg.c
@@
-1490,10
+1490,12
@@
static int mpegps_read_pes_header(AVFormatContext *s,
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;