aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-image-jfif.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-10-17 20:56:06 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-10-17 20:56:06 +0000
commitb7d116667f4368ef156737efaa7574f507d97923 (patch)
treeaa3d01aca80a37274de9b22f457c49a7ee598d74 /epan/dissectors/packet-image-jfif.c
parent80424e5ced9f0359fe3f6049369b6251783d9e0d (diff)
From Marton Nemeth:
Add the ability to open JPEG/JFIF files directly. From me: Some code cleanup + add new file to cmake. svn path=/trunk/; revision=30588
Diffstat (limited to 'epan/dissectors/packet-image-jfif.c')
-rw-r--r--epan/dissectors/packet-image-jfif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-image-jfif.c b/epan/dissectors/packet-image-jfif.c
index 9906bde293..e4ca1c2625 100644
--- a/epan/dissectors/packet-image-jfif.c
+++ b/epan/dissectors/packet-image-jfif.c
@@ -1187,4 +1187,6 @@ proto_reg_handoff_jfif(void)
dissector_add_string("media_type", "image/jfif", jfif_handle);
dissector_add_string("media_type", "image/jpg", jfif_handle);
dissector_add_string("media_type", "image/jpeg", jfif_handle);
+
+ dissector_add("wtap_encap", WTAP_ENCAP_JPEG_JFIF, jfif_handle);
}