g3dvl: s/inline/INLINE/ to fix MSVC build
authorBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2011 14:24:01 +0000 (08:24 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2011 14:24:01 +0000 (08:24 -0600)
src/gallium/auxiliary/vl/vl_mpeg12_decoder.c

index e0b477d315a9658243f564c3476ecdd859694fe3..7d53168afe5681c90c9a02aedaf03e0e39cf58c4 100644 (file)
@@ -238,7 +238,7 @@ cleanup_mc_buffer(struct vl_mpeg12_buffer *buf)
       vl_mc_cleanup_buffer(&buf->mc[i]);
 }
 
-static inline void
+static INLINE void
 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2])
 {
    assert(mb);
@@ -272,7 +272,7 @@ MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned we
    }
 }
 
-static inline struct vl_motionvector
+static INLINE struct vl_motionvector
 MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector,
                    unsigned field_select_mask, unsigned weight)
 {
@@ -323,7 +323,7 @@ MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector,
    return mv;
 }
 
-static inline void
+static INLINE void
 UploadYcbcrBlocks(struct vl_mpeg12_decoder *dec,
                   struct vl_mpeg12_buffer *buf,
                   const struct pipe_mpeg12_macroblock *mb)