[FFmpeg-cvslog] avcodec/flac_parser: remove duplicate assignent

Michael Niedermayer git at videolan.org
Thu Jul 31 20:42:17 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 31 20:35:32 2014 +0200| [590c2996ee115a185d99433937c5d51945780d3c] | committer: Michael Niedermayer

avcodec/flac_parser: remove duplicate assignent

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/flac_parser.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c
index 68c915e..a031dbf 100644
--- a/libavcodec/flac_parser.c
+++ b/libavcodec/flac_parser.c
@@ -667,7 +667,6 @@ static int flac_parse(AVCodecParserContext *s, AVCodecContext *avctx,
         }
     }
 
-    curr = fpc->headers;
     for (curr = fpc->headers; curr; curr = curr->next) {
         if (curr->max_score > 0 &&
             (!fpc->best_header || curr->max_score > fpc->best_header->max_score)) {



More information about the ffmpeg-cvslog mailing list