summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Fox <dyntryx@gmail.com>2009-01-24 07:30:23 +0000
committerSean Fox <dyntryx@gmail.com>2009-01-24 07:30:23 +0000
commitae3b9856165cc7e1c03483bcca7637998637fb63 (patch)
tree483fdece2c55b03afdc962d017f883fe42c42c0a
parent731146ee6c743d79c881a52c0adb6e214ba9a812 (diff)
downloadlibnsbmp-ae3b9856165cc7e1c03483bcca7637998637fb63.tar.gz
libnsbmp-ae3b9856165cc7e1c03483bcca7637998637fb63.tar.bz2
Point to MSDN for format specifications because it appears to be more accurate; the previous link had a few inaccuracies regarding RGB encoding.
svn path=/trunk/libnsbmp/; revision=6217
-rw-r--r--libnsbmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnsbmp.c b/libnsbmp.c
index c1868c8..218184c 100644
--- a/libnsbmp.c
+++ b/libnsbmp.c
@@ -325,7 +325,8 @@ static bmp_result bmp_analyse_header(bmp_image *bmp, uint8_t *data) {
/* a variety of different bitmap headers can follow, depending
* on the BMP variant. A full description of the various headers
- * can be found at http://www.fileformat.info/format/bmp/
+ * can be found at
+ * http://msdn.microsoft.com/en-us/library/ms532301(VS.85).aspx
*/
header_size = read_uint32(data, 0);
if (bmp->buffer_size < (14 + header_size))