[FFmpeg-cvslog] avcodec/h264_parser: remove redundant assignment

Michael Niedermayer git at videolan.org
Sat Aug 2 05:26:59 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug  2 05:14:18 2014 +0200| [92be540636e1968fc83c412a62f82febf8fb9380] | committer: Michael Niedermayer

avcodec/h264_parser: remove redundant assignment

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/h264_parser.c |    1 -
 1 file changed, 1 deletion(-)

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)



More information about the ffmpeg-cvslog mailing list