[FFmpeg-cvslog] r23897 - trunk/libavcodec/rv34.c

benoit subversion
Wed Jun 30 08:50:44 CEST 2010


Author: benoit
Date: Wed Jun 30 08:50:44 2010
New Revision: 23897

Log:
Fix "initialization from incompatible pointer type" warning in rv34.
Patch by Eli Friedman (at gmail).

Modified:
   trunk/libavcodec/rv34.c

Modified: trunk/libavcodec/rv34.c
==============================================================================
--- trunk/libavcodec/rv34.c	Wed Jun 30 06:50:35 2010	(r23896)
+++ trunk/libavcodec/rv34.c	Wed Jun 30 08:50:44 2010	(r23897)
@@ -1142,7 +1142,7 @@ static int rv34_set_deblock_coef(RV34Dec
     MpegEncContext *s = &r->s;
     int hmvmask = 0, vmvmask = 0, i, j;
     int midx = s->mb_x * 2 + s->mb_y * 2 * s->b8_stride;
-    int16_t (*motion_val)[2] = s->current_picture_ptr->motion_val[0][midx];
+    int16_t (*motion_val)[2] = &s->current_picture_ptr->motion_val[0][midx];
     for(j = 0; j < 16; j += 8){
         for(i = 0; i < 2; i++){
             if(is_mv_diff_gt_3(motion_val + i, 1))



More information about the ffmpeg-cvslog mailing list