aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/id3v2_extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/id3v2_extractor.c')
-rw-r--r--src/plugins/id3v2_extractor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/id3v2_extractor.c b/src/plugins/id3v2_extractor.c
index c852423..4f50d05 100644
--- a/src/plugins/id3v2_extractor.c
+++ b/src/plugins/id3v2_extractor.c
@@ -125,7 +125,6 @@ EXTRACTOR_id3v2_extract (const unsigned char *data,
125 void *proc_cls, 125 void *proc_cls,
126 const char *options) 126 const char *options)
127{ 127{
128 int unsync;
129 unsigned int tsize; 128 unsigned int tsize;
130 unsigned int pos; 129 unsigned int pos;
131 unsigned int off; 130 unsigned int off;
@@ -137,7 +136,7 @@ EXTRACTOR_id3v2_extract (const unsigned char *data,
137 (data[1] != 0x44) || 136 (data[1] != 0x44) ||
138 (data[2] != 0x33) || (data[3] != 0x02) || (data[4] != 0x00)) 137 (data[2] != 0x33) || (data[3] != 0x02) || (data[4] != 0x00))
139 return 0; 138 return 0;
140 unsync = (data[5] & 0x80) > 0; 139 /* unsync: (data[5] & 0x80) > 0; */
141 tsize = (((data[6] & 0x7F) << 21) | 140 tsize = (((data[6] & 0x7F) << 21) |
142 ((data[7] & 0x7F) << 14) | 141 ((data[7] & 0x7F) << 14) |
143 ((data[8] & 0x7F) << 07) | ((data[9] & 0x7F) << 00)); 142 ((data[8] & 0x7F) << 07) | ((data[9] & 0x7F) << 00));