Fix a pointer type
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:35:29 +0000 (21:35 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:35:29 +0000 (21:35 +0000)
Commited in SoC by Bobby Bingham on 2007-06-30 16:17:56

Originally committed as revision 11969 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.c

index c78862354fd3f9a16dd7ef8fadc3fc3688a3501a..1daf0e5f71e85b5410eaca4ed09ddd889e41538a 100644 (file)
@@ -55,7 +55,7 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms)
     pic->free = avfilter_default_free_video_buffer;
     avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
 
-    memcpy(ref->data, pic->data, sizeof(int *) * 4);
+    memcpy(ref->data, pic->data, sizeof(uint8_t *) * 4);
     memcpy(ref->linesize, pic->linesize, sizeof(int *) * 4);
 
     return ref;