From f2b91bd63ad3549ed89b8bfb96cc4a3448c0c0da Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 22 Mar 2012 03:36:29 +0000 Subject: [PATCH] latm_parser: remove dead store Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/latm_parser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/latm_parser.c b/libavcodec/latm_parser.c index 6cf45c89a8..92cb7031ec 100644 --- a/libavcodec/latm_parser.c +++ b/libavcodec/latm_parser.c @@ -50,7 +50,6 @@ static int latm_find_frame_end(AVCodecParserContext *s1, const uint8_t *buf, pic_found = pc->frame_start_found; state = pc->state; - i = 0; if (!pic_found) { for (i = 0; i < buf_size; i++) { state = (state<<8) | buf[i];