summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-23 21:21:47 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-03-25 12:24:15 +0200
commit6d797ac70ff6d88f547c64317363cc16cf0f0add (patch)
tree336f6b2c8f50da8ae96a05e512c1da00326a2591 /libavcodec/vc1.h
parent31ff2cb266832a82ac4b5aaa2947719f47e4b425 (diff)
downloadffmpeg-6d797ac70ff6d88f547c64317363cc16cf0f0add.tar.gz
VC1: Do not needlessly use signed types.
This might even have prevented the compiler from some optimizations, since both signed and unsigned types are used for the dezigzag tables/ table pointers, and if a branches uses both the compiler needs to create more complex code. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/vc1.h')
-rw-r--r--libavcodec/vc1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h
index 88fa0e0f65..0c9032fe5c 100644
--- a/libavcodec/vc1.h
+++ b/libavcodec/vc1.h
@@ -349,7 +349,7 @@ typedef struct VC1Context{
uint8_t fourmvbp;
uint8_t* fieldtx_plane;
int fieldtx_is_raw;
- int8_t zzi_8x8[64];
+ uint8_t zzi_8x8[64];
uint8_t *blk_mv_type_base, *blk_mv_type; ///< 0: frame MV, 1: field MV (interlaced frame)
uint8_t *mv_f_base, *mv_f[2]; ///< 0: MV obtained from same field, 1: opposite field
uint8_t *mv_f_last_base, *mv_f_last[2];