[FFmpeg-cvslog] h264: remove assert() immediately following return statement

Mans Rullgard git at videolan.org
Mon Jul 4 00:53:44 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul  3 02:37:31 2011 +0100| [21accb3bb26c874d95796a77feeab049f6f6f80d] | committer: Mans Rullgard

h264: remove assert() immediately following return statement

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 libavcodec/h264_mvpred.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264_mvpred.h b/libavcodec/h264_mvpred.h
index 1359072..f603e7f 100644
--- a/libavcodec/h264_mvpred.h
+++ b/libavcodec/h264_mvpred.h
@@ -64,7 +64,6 @@ static inline int fetch_diagonal_mv(H264Context *h, const int16_t **C, int i, in
             if(!MB_FIELD
                && IS_INTERLACED(h->left_type[0])){
                 SET_DIAG_MV(*2, >>1, h->left_mb_xy[0]+s->mb_stride, (s->mb_y&1)*2+(i>>5));
-                assert(h->left_mb_xy[0] == h->left_mb_xy[1]);
             }
             if(MB_FIELD
                && !IS_INTERLACED(h->left_type[0])){



More information about the ffmpeg-cvslog mailing list