From 2e20f02df4ec7296113ed76a9139c8cd88b7dfa3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 6 Jul 2019 09:51:46 +0200 Subject: [PATCH] avcodec/dnxhd_parser: remove unneeded code Signed-off-by: Michael Niedermayer (cherry picked from commit 1707dbdf49b22021b0845482806b881093534f2f) Signed-off-by: Michael Niedermayer --- libavcodec/dnxhd_parser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c index 79ca1d6718..154a858476 100644 --- a/libavcodec/dnxhd_parser.c +++ b/libavcodec/dnxhd_parser.c @@ -81,8 +81,6 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx, } dctx->remaining = remaining; if (buf_size - i + 47 >= dctx->remaining) { - int remaining = dctx->remaining; - pc->frame_start_found = 0; pc->state64 = -1; dctx->cur_byte = 0;