[FFmpeg-devel] [PATCH 3/5] avcodec/vc1_mc: change the type of s_rndtblfield to uint8_t
zhaoxiu.zeng
zhaoxiu.zeng at gmail.com
Sat Mar 7 15:47:18 CET 2015
>From 89d7ae20136a6d65cd72117dd367f60003a7391e Mon Sep 17 00:00:00 2001
From: Zeng Zhaoxiu <zhaoxiu.zeng at gmail.com>
Date: Sat, 7 Mar 2015 17:38:54 +0800
Subject: [PATCH 3/5] avcodec/vc1_mc: change the type of s_rndtblfield to
uint8_t
Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng at gmail.com>
---
libavcodec/vc1_mc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100755 => 100644 libavcodec/vc1_mc.c
diff --git a/libavcodec/vc1_mc.c b/libavcodec/vc1_mc.c
old mode 100755
new mode 100644
index 4b7f8b6..88473ea
--- a/libavcodec/vc1_mc.c
+++ b/libavcodec/vc1_mc.c
@@ -679,7 +679,7 @@ void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg)
int uvmx_field[4], uvmy_field[4];
int i, off, tx, ty;
int fieldmv = v->blk_mv_type[s->block_index[0]];
- static const int s_rndtblfield[16] = { 0, 0, 1, 2, 4, 4, 5, 6, 2, 2, 3, 8, 6, 6, 7, 12 };
+ static const uint8_t s_rndtblfield[16] = { 0, 0, 1, 2, 4, 4, 5, 6, 2, 2, 3, 8, 6, 6, 7, 12 };
int v_dist = fieldmv ? 1 : 4; // vertical offset for lower sub-blocks
int v_edge_pos = s->v_edge_pos >> 1;
int use_ic;
--
2.1.0
More information about the ffmpeg-devel
mailing list