diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-03 14:51:32 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-03 14:51:32 +0000 |
commit | 026f96bedffa397c3bd84c3e7f62a42e9e5f3526 (patch) | |
tree | f687aab955585a82a7c0c61e3cb6e68f4b70d691 /asn1/mpeg-audio/packet-mpeg-audio-template.c | |
parent | c4441c8b43380026b6d5dbf8c5c3ad759260719b (diff) | |
download | wireshark-026f96bedffa397c3bd84c3e7f62a42e9e5f3526.tar.gz |
Use proto_mpeg_audio for protocol tree item.
svn path=/trunk/; revision=31419
Diffstat (limited to 'asn1/mpeg-audio/packet-mpeg-audio-template.c')
-rw-r--r-- | asn1/mpeg-audio/packet-mpeg-audio-template.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/asn1/mpeg-audio/packet-mpeg-audio-template.c b/asn1/mpeg-audio/packet-mpeg-audio-template.c index 07ddf3fdc2..80838fab1f 100644 --- a/asn1/mpeg-audio/packet-mpeg-audio-template.c +++ b/asn1/mpeg-audio/packet-mpeg-audio-template.c @@ -44,7 +44,6 @@ static int proto_mpeg_audio = -1; -static int hf_mpeg_audio = -1; static int hf_mpeg_audio_data = -1; static int hf_mpeg_audio_padbytes = -1; static int hf_id3v1 = -1; @@ -98,7 +97,7 @@ dissect_mpeg_audio_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); offset = dissect_mpeg_audio_Audio(tvb, offset, &asn1_ctx, - tree, hf_mpeg_audio); + tree, proto_mpeg_audio); if (data_size > 0) { unsigned int padding; @@ -163,9 +162,6 @@ proto_register_mpeg_audio(void) { static hf_register_info hf[] = { #include "packet-mpeg-audio-hfarr.c" - { &hf_mpeg_audio, - { "MPEG Audio", "mpeg.audio", - FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_mpeg_audio_data, { "Data", "mpeg.audio.data", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, |