[FFmpeg-cvslog] r22025 - trunk/libavcodec/h264_cabac.c
michael
subversion
Wed Feb 24 14:12:09 CET 2010
Author: michael
Date: Wed Feb 24 14:12:09 2010
New Revision: 22025
Log:
Replace ad-hoc fill rectangle by fill_rectangle().
Modified:
trunk/libavcodec/h264_cabac.c
Modified: trunk/libavcodec/h264_cabac.c
==============================================================================
--- trunk/libavcodec/h264_cabac.c Wed Feb 24 14:11:38 2010 (r22024)
+++ trunk/libavcodec/h264_cabac.c Wed Feb 24 14:12:09 2010 (r22025)
@@ -1469,10 +1469,8 @@ decode_intra_mb:
mvd_cache[ 0 ][1]= mpy;
}
}else{
- uint32_t *p= (uint32_t *)&h->mv_cache[list][ scan8[4*i] ][0];
- uint32_t *pd= (uint32_t *)&h->mvd_cache[list][ scan8[4*i] ][0];
- p[0] = p[1] = p[8] = p[9] = 0;
- pd[0]= pd[1]= pd[8]= pd[9]= 0;
+ fill_rectangle(h->mv_cache [list][ scan8[4*i] ], 2, 2, 8, 0, 4);
+ fill_rectangle(h->mvd_cache[list][ scan8[4*i] ], 2, 2, 8, 0, 4);
}
}
}
More information about the ffmpeg-cvslog
mailing list