From 92be540636e1968fc83c412a62f82febf8fb9380 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 2 Aug 2014 05:14:18 +0200 Subject: [PATCH] avcodec/h264_parser: remove redundant assignment Found-by: CSA Signed-off-by: Michael Niedermayer --- libavcodec/h264_parser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index a075bfa987..e8243a23f6 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -99,7 +99,6 @@ static int h264_find_frame_end(H264Context *h, const uint8_t *buf, init_get_bits(&gb, h->parse_history, 8*h->parse_history_count); h->parse_history_count=0; mb= get_ue_golomb_long(&gb); - last_mb= h->parse_last_mb; h->parse_last_mb= mb; if (pc->frame_start_found) { if (mb <= last_mb)