diff options
Diffstat (limited to 'epan/dissectors/packet-h263p.c')
-rw-r--r-- | epan/dissectors/packet-h263p.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h263p.c b/epan/dissectors/packet-h263p.c index a517689e1f..2b4461e479 100644 --- a/epan/dissectors/packet-h263p.c +++ b/epan/dissectors/packet-h263p.c @@ -66,8 +66,8 @@ static gint ett_h263P_data = -1; static guint temp_dynamic_payload_type = 0; /* RFC 4629 */ -static void -dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) +static int +dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_ ) { proto_item *ti = NULL; proto_item *data_item = NULL; @@ -192,10 +192,11 @@ dissect_h263P( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) }else{ /* Error */ } - return; + return tvb_captured_length(tvb); } proto_tree_add_item( h263P_tree, hf_h263P_payload, tvb, offset, -1, ENC_NA ); } + return tvb_captured_length(tvb); } void @@ -408,7 +409,7 @@ proto_register_h263P(void) 10, &temp_dynamic_payload_type); - register_dissector("h263P", dissect_h263P, proto_h263P); + new_register_dissector("h263P", dissect_h263P, proto_h263P); } |