summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-02 05:14:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-02 05:14:18 +0200
commit92be540636e1968fc83c412a62f82febf8fb9380 (patch)
tree70cf7e61f9d78bdcead5bdb149472420b2cd92a5 /libavcodec/h264_parser.c
parente85bc9df87a1b308b259f856325fcbe73d7a40cc (diff)
downloadffmpeg-streaming-92be540636e1968fc83c412a62f82febf8fb9380.zip
ffmpeg-streaming-92be540636e1968fc83c412a62f82febf8fb9380.tar.gz
avcodec/h264_parser: remove redundant assignment
Found-by: CSA Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index a075bfa..e8243a2 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)
OpenPOWER on IntegriCloud