[vlc-commits] demux: asf: fix multiple compressed payload regression (fix #9846)
Francois Cartegnie
git at videolan.org
Fri Nov 15 16:16:45 CET 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Nov 16 00:12:47 2013 +0900| [1c7b3420ede14f56b1c340fbfcd9bc2db9d8e4e3] | committer: Francois Cartegnie
demux: asf: fix multiple compressed payload regression (fix #9846)
Regression introduced by 6eddafe741954803ec2928d26fb7566bd07a3601
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c7b3420ede14f56b1c340fbfcd9bc2db9d8e4e3
---
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 cbf8b43..fedc232 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -548,7 +548,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);
More information about the vlc-commits
mailing list