Revision: 502
Author:
kid...@gmail.com
Date: Mon May 13 08:32:53 2013
Log: fix for issue 146: JPEG image type checking is too strict. EXIF
and JFIF are close enough that either should be recognized as a JPEG
http://code.google.com/p/mp4v2/source/detail?r=502
Modified:
/trunk/src/itmf/type.cpp
=======================================
--- /trunk/src/itmf/type.cpp Fri Jan 28 18:36:07 2011
+++ /trunk/src/itmf/type.cpp Mon May 13 08:32:53 2013
@@ -284,7 +284,7 @@
{ BT_BMP, "\x42\x4d" },
{ BT_GIF, "GIF87a" },
{ BT_GIF, "GIF89a" },
- { BT_JPEG, "\xff\xd8\xff\xe0" },
+ { BT_JPEG, "\xff\xd8\xff" },
{ BT_PNG, "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a" },
{ BT_UNDEFINED } // must be last
};