Commit 1c7b3420 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: asf: fix multiple compressed payload regression (fix #9846)

Regression introduced by 6eddafe7
parent c5c9e666
...@@ -548,7 +548,10 @@ static int DemuxPayload(demux_t *p_demux, struct asf_packet_t *pkt, int i_payloa ...@@ -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; int i_sub_payload_data_length = i_payload_data_length;
if( i_replicated_data_length == 1 ) if( i_replicated_data_length == 1 )
{
i_sub_payload_data_length = pkt->p_peek[pkt->i_skip++]; i_sub_payload_data_length = pkt->p_peek[pkt->i_skip++];
i_payload_data_length--;
}
stream_Read(p_demux->s, NULL, pkt->i_skip); stream_Read(p_demux->s, NULL, pkt->i_skip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment