summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-08-09 18:11:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-08-09 18:11:25 +0000
commit3d11b8ce13788653f7929e49a11681a1bae2f75e (patch)
tree591439a917c357d6a2641979c2818885c284cc76 /libavcodec
parent7fc332c7ba6eb020c18ae1b88e309cbf88c079a4 (diff)
Remove more code that has become useless after the pairless MBAFF loop
filter cleanup. Originally committed as revision 14676 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 1c59a99bc6..e3337fd1ba 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -186,15 +186,7 @@ static void fill_caches(H264Context *h, int mb_type, int for_deblock){
int list;
for(list=0; list<h->list_count; list++){
if(USES_LIST(mb_type,list)){
- uint32_t *src = (uint32_t*)s->current_picture.motion_val[list][h->mb2b_xy[mb_xy]];
- uint32_t *dst = (uint32_t*)h->mv_cache[list][scan8[0]];
int8_t *ref = &s->current_picture.ref_index[list][h->mb2b8_xy[mb_xy]];
- for(i=0; i<4; i++, dst+=8, src+=h->b_stride){
- dst[0] = src[0];
- dst[1] = src[1];
- dst[2] = src[2];
- dst[3] = src[3];
- }
*(uint32_t*)&h->ref_cache[list][scan8[ 0]] =
*(uint32_t*)&h->ref_cache[list][scan8[ 2]] = pack16to32(ref[0],ref[1])*0x0101;
ref += h->b8_stride;