summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-01-01 00:42:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-01-01 00:42:18 +0000
commitc442d75c6e95ebb201168815eac86e808b31a83a (patch)
treea456af0541b2d16a9afc21199a6f8f1880b05eec /libavcodec/mpegvideo.h
parent9981dfc662a64cfb1e590f1c416b56baa0f63ed2 (diff)
trellis quantization for mpeg1
rounding bugfix for mpeg1 (seems this was introduced during the ME changes) Originally committed as revision 1382 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index e6af7fa287..82fc9c4aaa 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -312,7 +312,7 @@ typedef struct MpegEncContext {
uint8_t *intra_ac_vlc_last_length;
uint8_t *inter_ac_vlc_length;
uint8_t *inter_ac_vlc_last_length;
-#define UNI_ENC_INDEX(run,level) ((run)*128 + (level))
+#define UNI_AC_ENC_INDEX(run,level) ((run)*128 + (level))
/* precomputed matrix (combine qscale and DCT renorm) */
int __align8 q_intra_matrix[32][64];