latm_parser: remove dead store
authorPaul B Mahol <onemda@gmail.com>
Thu, 22 Mar 2012 03:36:29 +0000 (03:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2012 12:23:08 +0000 (13:23 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/latm_parser.c

index 6cf45c8..92cb703 100644 (file)
@@ -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];