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:
3c64d83
)
Removed useless test.
author
Laurent Aimar
<fenrir@videolan.org>
Sat, 15 Nov 2008 12:21:57 +0000
(13:21 +0100)
committer
Laurent Aimar
<fenrir@videolan.org>
Sat, 15 Nov 2008 12:21:57 +0000
(13:21 +0100)
modules/mux/mpeg/pes.c
patch
|
blob
|
history
diff --git
a/modules/mux/mpeg/pes.c
b/modules/mux/mpeg/pes.c
index
d63efed
..
a8a3102
100644
(file)
--- a/
modules/mux/mpeg/pes.c
+++ b/
modules/mux/mpeg/pes.c
@@
-77,9
+77,8
@@
static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
/* For PES_PRIVATE_STREAM_1 there is an extra header after the
pes header */
/* i_private_id != -1 because TS use 0xbd without private_id */
- if( i_private_id != -1 )
- i_extra = 1;
- if( ( i_private_id & 0xf0 ) == 0x80 ) /* implies i_private_id != -1 */
+ i_extra = 1;
+ if( ( i_private_id & 0xf0 ) == 0x80 )
i_extra += 3;
}
else if( ( i_stream_id >> 8 ) == PES_EXTENDED_STREAM_ID )