[vlc-commits] demux: asf: remove dead code (cid #1251046)
Francois Cartegnie
git at videolan.org
Mon Nov 10 22:10:24 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Nov 10 22:05:20 2014 +0100| [5657ce1d1475ecfdfcac6063efb5d94eac695b2f] | committer: Francois Cartegnie
demux: asf: remove dead code (cid #1251046)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5657ce1d1475ecfdfcac6063efb5d94eac695b2f
---
modules/demux/asf/asfpacket.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/demux/asf/asfpacket.c b/modules/demux/asf/asfpacket.c
index ca99e5d..b69c8a9 100644
--- a/modules/demux/asf/asfpacket.c
+++ b/modules/demux/asf/asfpacket.c
@@ -201,8 +201,6 @@ static int DemuxPayload(asf_packet_sys_t *p_packetsys, asf_packet_t *pkt, int i_
bool b_packet_keyframe = pkt->p_peek[pkt->i_skip] >> 7;
uint8_t i_stream_number = pkt->p_peek[pkt->i_skip++] & 0x7f;
- if ( i_stream_number > ASF_MAX_STREAMNUMBER )
- goto skip;
uint32_t i_media_object_number = 0;
if (GetValue2b(&i_media_object_number, pkt->p_peek, &pkt->i_skip, pkt->left - pkt->i_skip, pkt->property >> 4) < 0)
More information about the vlc-commits
mailing list