aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-06 09:51:46 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-14 23:30:38 +0100
commit6118362864af889a30bfcff3b0a5a929ca4cd713 (patch)
treececb6f4e8d419e0fd37dfed98757ddef692efbb9 /libavcodec
parent774d23af2ffefe6ce598ef906d3c76ddaa6f4f4e (diff)
downloadffmpeg-6118362864af889a30bfcff3b0a5a929ca4cd713.tar.gz
avcodec/dnxhd_parser: remove unneeded code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 1707dbdf49b22021b0845482806b881093534f2f) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dnxhd_parser.c2
1 files changed, 0 insertions, 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;