[FFmpeg-cvslog] latm_parser: remove dead store

Paul B Mahol git at videolan.org
Thu Mar 22 14:03:30 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Mar 22 03:36:29 2012 +0000| [f2b91bd63ad3549ed89b8bfb96cc4a3448c0c0da] | committer: Michael Niedermayer

latm_parser: remove dead store

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2b91bd63ad3549ed89b8bfb96cc4a3448c0c0da
---

 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];



More information about the ffmpeg-cvslog mailing list