avcodec/dnxhd_parser: remove unneeded code
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Jul 2019 07:51:46 +0000 (09:51 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jul 2019 21:18:50 +0000 (23:18 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhd_parser.c

index 7c16e25..f657af8 100644 (file)
@@ -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;