summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhd_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-06 09:51:46 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-07-17 23:18:50 +0200
commit1707dbdf49b22021b0845482806b881093534f2f (patch)
treea920d51389e1c25f482f756d44ac9bc74e1a1d8f /libavcodec/dnxhd_parser.c
parent15008db0fac6d97bb939fa7ef9e92d79bf1f7cb1 (diff)
downloadffmpeg-1707dbdf49b22021b0845482806b881093534f2f.tar.gz
avcodec/dnxhd_parser: remove unneeded code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dnxhd_parser.c')
-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 7c16e251a4..f657af8f41 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;