Index: OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp (revision 9933)
+++ OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp (revision 9960)
@@ -234,5 +234,5 @@
 }
 
-int FFmpegDecoderVideo::convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src,
+int FFmpegDecoderVideo::convert(AVPicture *dst, int dst_pix_fmt, AVPicture *src,
             int src_pix_fmt, int src_width, int src_height)
 {
@@ -248,7 +248,7 @@
 
     osg::notify(osg::INFO)<<"Using sws_scale ";
-
+    
     int result =  sws_scale(m_swscale_ctx,
-                            (const uint8_t**)(src->data), (src->linesize), 0, src_height,
+                            (src->data), (src->linesize), 0, src_height,
                             (dst->data), (dst->linesize));
 #else
@@ -277,5 +277,5 @@
         return;
         
-    const AVPicture * const src = (const AVPicture *) m_frame.get();
+    AVPicture * const src = (AVPicture *) m_frame.get();
     AVPicture * const dst = (AVPicture *) m_frame_rgba.get();
 
@@ -313,5 +313,5 @@
 
 
-void FFmpegDecoderVideo::yuva420pToRgba(AVPicture * const dst, const AVPicture * const src, int width, int height)
+void FFmpegDecoderVideo::yuva420pToRgba(AVPicture * const dst, AVPicture * const src, int width, int height)
 {
     convert(dst, PIX_FMT_RGB32, src, m_context->pix_fmt, width, height);
