git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3334ee
)
Fixed VC1 probe function.
author
Laurent Aimar
<fenrir@videolan.org>
Wed, 29 Apr 2009 18:41:05 +0000
(20:41 +0200)
committer
Laurent Aimar
<fenrir@videolan.org>
Thu, 30 Apr 2009 19:01:34 +0000
(21:01 +0200)
modules/demux/vc1.c
patch
|
blob
|
history
diff --git
a/modules/demux/vc1.c
b/modules/demux/vc1.c
index
99b8f93
..
8c3af59
100644
(file)
--- a/
modules/demux/vc1.c
+++ b/
modules/demux/vc1.c
@@
-81,11
+81,10
@@
static int Open( vlc_object_t * p_this )
const uint8_t *p_peek;
es_format_t fmt;
- if( stream_Peek( p_demux->s, &p_peek,
5 ) < 5
) return VLC_EGENERIC;
+ if( stream_Peek( p_demux->s, &p_peek,
4 ) < 4
) return VLC_EGENERIC;
if( p_peek[0] != 0x00 || p_peek[1] != 0x00 ||
- p_peek[2] != 0x00 || p_peek[3] != 0x01 ||
- p_peek[4] != 0x0f ) /* Sequence header */
+ p_peek[2] != 0x01 || p_peek[3] != 0x0f ) /* Sequence header */
{
if( !p_demux->b_force )
{