[FFmpeg-cvslog] eamad: Remove redundant initialization of mv_map.

Michael Niedermayer git at videolan.org
Tue Mar 13 22:43:38 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 13 22:04:25 2012 +0100| [d9399c4b66339300d86ff3a74c2ff8af8fc7cfc9] | committer: Michael Niedermayer

eamad: Remove redundant initialization of mv_map.

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

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

 libavcodec/eamad.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/eamad.c b/libavcodec/eamad.c
index b411ce4..708674f 100644
--- a/libavcodec/eamad.c
+++ b/libavcodec/eamad.c
@@ -204,8 +204,6 @@ static int decode_mb(MadContext *t, int inter)
             mv_map = v ? get_bits(&s->gb, 6) : 63;
             mv_x = decode_motion(&s->gb);
             mv_y = decode_motion(&s->gb);
-        } else {
-            mv_map = 0;
         }
     }
 



More information about the ffmpeg-cvslog mailing list