diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2005-03-07 09:05:33 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2005-03-07 09:05:33 +0000 |
commit | 885e88d252a015ed42f10bef1289022ec14471ca (patch) | |
tree | c4636d5930b108a378372e57b07b7ce9582b56b3 /libavcodec | |
parent | 40c5fa2689105b0c4913e50b3bfd131e42afd592 (diff) | |
download | ffmpeg-885e88d252a015ed42f10bef1289022ec14471ca.tar.gz |
remove an assert that was breaking compilation on some gccs.
Originally committed as revision 4020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 14bf0b58a5..2c0719af2e 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1272,7 +1272,6 @@ static inline void pred_direct_motion(H264Context * const h, int *mb_type){ }else{ const int ref0 = l1ref0[0] >= 0 ? h->map_col_to_list0[0][l1ref0[0]] : h->map_col_to_list0[1][l1ref1[0]]; - assert(ref0 >= 0); const int dist_scale_factor = h->dist_scale_factor[ref0]; const int16_t *mv_col = l1mv0[0]; int mv_l0[2]; @@ -1304,7 +1303,6 @@ static inline void pred_direct_motion(H264Context * const h, int *mb_type){ ref0 = h->map_col_to_list0[0][ref0]; else ref0 = h->map_col_to_list0[1][l1ref1[x8 + y8*h->b8_stride]]; - assert(ref0 >= 0); dist_scale_factor = h->dist_scale_factor[ref0]; fill_rectangle(&h->ref_cache[0][scan8[i8*4]], 2, 2, 8, ref0, 1); |