[FFmpeg-cvslog] avcodec/dnxhd_parser: remove unneeded code

Michael Niedermayer git at videolan.org
Thu Jul 18 00:19:56 EEST 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Jul  6 09:51:46 2019 +0200| [1707dbdf49b22021b0845482806b881093534f2f] | committer: Michael Niedermayer

avcodec/dnxhd_parser: remove unneeded code

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1707dbdf49b22021b0845482806b881093534f2f
---

 libavcodec/dnxhd_parser.c | 2 --
 1 file changed, 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;



More information about the ffmpeg-cvslog mailing list