avcodec/flac_parser: remove duplicate assignent

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-07-31 20:35:32 +02:00
parent 1af563b5df
commit 590c2996ee
1 changed files with 0 additions and 1 deletions

View File

@ -667,7 +667,6 @@ static int flac_parse(AVCodecParserContext *s, AVCodecContext *avctx,
} }
} }
curr = fpc->headers;
for (curr = fpc->headers; curr; curr = curr->next) { for (curr = fpc->headers; curr; curr = curr->next) {
if (curr->max_score > 0 && if (curr->max_score > 0 &&
(!fpc->best_header || curr->max_score > fpc->best_header->max_score)) { (!fpc->best_header || curr->max_score > fpc->best_header->max_score)) {