]> git.tue.mpg.de Git - paraslash.git/commitdiff
wma: Rename comment_header.
authorAndre Noll <maan@systemlinux.org>
Fri, 1 Nov 2013 13:03:59 +0000 (14:03 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 18 Jan 2015 14:40:47 +0000 (15:40 +0100)
The correct term for this header is "content description header".

wma_afh.c

index 3df9b5fb818bf3e9a406eb175f7090a796502337..f1edacf07aa56b2d26e54e54641c1fd3d6bc1f11 100644 (file)
--- a/wma_afh.c
+++ b/wma_afh.c
@@ -100,7 +100,7 @@ static char *get_str16(const char *in, int len)
        return out;
 }
 
-static const char comment_header[] = {
+static const char content_description_header[] = {
        0x33, 0x26, 0xb2, 0x75, 0x8E, 0x66, 0xCF, 0x11,
        0xa6, 0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c
 };
@@ -127,10 +127,10 @@ static void read_asf_tags(const char *buf, int buf_size, struct taginfo *ti)
        const char *p, *end = buf + buf_size, *q;
        uint16_t len1, len2, len3, len4;
 
-       p = search_pattern(comment_header, sizeof(comment_header),
-               buf, buf_size);
+       p = search_pattern(content_description_header,
+               sizeof(content_description_header), buf, buf_size);
        if (!p || p + 34 >= end) {
-               PARA_NOTICE_LOG("comment header not found\n");
+               PARA_NOTICE_LOG("content description header not found\n");
                goto next;
        }
        p += 24;