[FFmpeg-devel] [PATCH 5/7] latm_parser: remove dead store

Paul B Mahol onemda at gmail.com
Thu Mar 22 04:36:29 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/latm_parser.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/latm_parser.c b/libavcodec/latm_parser.c
index 6cf45c8..92cb703 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];
-- 
1.7.7



More information about the ffmpeg-devel mailing list