diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/metadata.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/metadata.c b/apps/metadata.c index 42ae435aea..10c8877eb4 100644 --- a/apps/metadata.c +++ b/apps/metadata.c | |||
@@ -1914,9 +1914,7 @@ static bool get_spc_metadata(int fd, struct mp3entry* id3) | |||
1914 | if (i==8) isbinary = false; | 1914 | if (i==8) isbinary = false; |
1915 | 1915 | ||
1916 | if(isbinary) { | 1916 | if(isbinary) { |
1917 | unsigned char * tbuf = buf; | 1917 | id3->year = buf[0] | (buf[1]<<8); |
1918 | |||
1919 | id3->year = tbuf[0] | (tbuf[1]<<8); | ||
1920 | buf += 11; | 1918 | buf += 11; |
1921 | 1919 | ||
1922 | length = (buf[0] | (buf[1]<<8) | (buf[2]<<16)) * 1000; | 1920 | length = (buf[0] | (buf[1]<<8) | (buf[2]<<16)) * 1000; |