summaryrefslogtreecommitdiff
path: root/libavcodec/flac_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-31 20:35:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-31 20:35:54 +0200
commit590c2996ee115a185d99433937c5d51945780d3c (patch)
tree3f0dabbac1c046bb17b9cde30ee2ac62f84b59ff /libavcodec/flac_parser.c
parent1af563b5dfeaf1e0d0a5ef8397dee59c81643132 (diff)
avcodec/flac_parser: remove duplicate assignent
Found-by: CSA Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/flac_parser.c')
-rw-r--r--libavcodec/flac_parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c
index 68c915e9ce..a031dbfc62 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)) {