diff msmpeg4.c @ 25:2f603eb2f23d libavcodec

types fix
author glantau
date Mon, 06 Aug 2001 00:47:50 +0000
parents 20e680e7a490
children 11ce5e672961
line wrap: on
line diff
--- a/msmpeg4.c	Mon Aug 06 00:47:03 2001 +0000
+++ b/msmpeg4.c	Mon Aug 06 00:47:50 2001 +0000
@@ -361,10 +361,10 @@
 
 /* dir = 0: left, dir = 1: top prediction */
 static int msmpeg4_pred_dc(MpegEncContext * s, int n, 
-                           UINT16 **dc_val_ptr, int *dir_ptr)
+                           INT16 **dc_val_ptr, int *dir_ptr)
 {
     int a, b, c, x, y, wrap, pred, scale;
-    UINT16 *dc_val;
+    INT16 *dc_val;
 
     /* find prediction */
     if (n < 4) {
@@ -417,7 +417,7 @@
 {
     int sign, code;
     int pred;
-    UINT16 *dc_val;
+    INT16 *dc_val;
 
     pred = msmpeg4_pred_dc(s, n, &dc_val, dir_ptr);
 
@@ -863,7 +863,7 @@
 static int msmpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr)
 {
     int level, pred;
-    UINT16 *dc_val;
+    INT16 *dc_val;
 
     if (n < 4) {
         level = get_vlc(&s->gb, &dc_lum_vlc[s->dc_table_index]);