[vlc-commits] demux: asf: fix multiple compressed payload regression (fix #9846)
Francois Cartegnie
git at videolan.org
Sun Feb 9 17:42:45 CET 2014
vlc/vlc-2.1 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Nov 16 00:12:47 2013 +0900| [c8b3189f1ed316d6e63851cc08edbd3078af0ce4] | committer: Jean-Baptiste Kempf
demux: asf: fix multiple compressed payload regression (fix #9846)
Regression introduced by 6eddafe741954803ec2928d26fb7566bd07a3601
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=c8b3189f1ed316d6e63851cc08edbd3078af0ce4
---
modules/demux/asf/asf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 9acb430..e9ccf9f 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -554,7 +554,10 @@ static int DemuxPayload(demux_t *p_demux, struct asf_packet_t *pkt, int i_payloa
{
int i_sub_payload_data_length = i_payload_data_length;
if( i_replicated_data_length == 1 )
+ {
i_sub_payload_data_length = pkt->p_peek[pkt->i_skip++];
+ i_payload_data_length--;
+ }
stream_Read(p_demux->s, NULL, pkt->i_skip);
if ( i_sub_payload_data_length &&
More information about the vlc-commits
mailing list