Increase frag_id for self contained subpackets in mp2t packets. This fix length calculation on second pass.

Change-Id: I6224657c0765fa9696829844b4819f6ab0a3d3f4
Reviewed-on: https://code.wireshark.org/review/1690
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Guy Martin 2014-05-19 11:13:41 +02:00 committed by Alexis La Goutte
parent 0adac831e0
commit 69623c92d7
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
* Routines for RFC 2250 MPEG2 (ISO/IEC 13818-1) Transport Stream dissection
*
* Copyright 2006, Erwin Rol <erwin@erwinrol.com>
* Copyright 2012, Guy Martin <gmsoft@tuxicoman.be>
* Copyright 2012-2014, Guy Martin <gmsoft@tuxicoman.be>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
@ -744,6 +744,7 @@ mp2t_process_fragmented_payload(tvbuff_t *tvb, gint offset, guint remaining_len,
remaining_len -= frag_tot_len;
offset += frag_tot_len;
frag_tot_len = 0;
frag_id++;
} else {
break;
}