diff options
Diffstat (limited to 'src/plugins/flv_extractor.c')
-rw-r--r-- | src/plugins/flv_extractor.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/flv_extractor.c b/src/plugins/flv_extractor.c index 7572b6d..00ffb0c 100644 --- a/src/plugins/flv_extractor.c +++ b/src/plugins/flv_extractor.c | |||
@@ -316,13 +316,12 @@ static int parse_amf(const unsigned char **data, | |||
316 | { | 316 | { |
317 | char *key; | 317 | char *key; |
318 | unsigned char type; | 318 | unsigned char type; |
319 | long max_index; | 319 | |
320 | |||
321 | if (*len < 4) { | 320 | if (*len < 4) { |
322 | ret = -1; | 321 | ret = -1; |
323 | break; | 322 | break; |
324 | } | 323 | } |
325 | max_index = readInt32(&ptr); | 324 | /* max_index */ readInt32(&ptr); |
326 | *len -= 4; | 325 | *len -= 4; |
327 | ret = readASString(&ptr, len, &key); | 326 | ret = readASString(&ptr, len, &key); |
328 | if (ret == -1) | 327 | if (ret == -1) |