Recognize .bin as firmware
diff --git a/ChangeLog b/ChangeLog
index 545af06..e28a966 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-11  Linus Walleij <triad@df.lth.se>
+
+	* examples/pathutils.c: recognize .bin files as firmware,
+	  used by e.g. RockBox developers. Doesn't cost anything to
+	  add.
+	
 2007-01-08  Linus Walleij <triad@df.lth.se>
 
 	* configure.ac: bump to 0.2.5.
diff --git a/examples/pathutils.c b/examples/pathutils.c
index 295016b..42a0027 100644
--- a/examples/pathutils.c
+++ b/examples/pathutils.c
@@ -1,7 +1,7 @@
 /** 
  * \file pathutils.c
  *
- * Copyright (C) 2005-2007 Linus Walleij <triad@df.lth.se>
+ * Copyright (C) 2005-2008 Linus Walleij <triad@df.lth.se>
  * Copyright (C) 2006 Chris A. Debenham <chris@adebenham.com>
  *
  * This library is free software; you can redistribute it and/or
@@ -185,6 +185,8 @@
     filetype = LIBMTP_FILETYPE_JP2;
   } else if (!strcasecmp (ptype, "jpx")) {
     filetype = LIBMTP_FILETYPE_JPX;
+  } else if (!strcasecmp (ptype, "bin")) {
+    filetype = LIBMTP_FILETYPE_FIRMWARE;
   } else {
     /* Tagging as unknown file type */
     filetype = LIBMTP_FILETYPE_UNKNOWN;