summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-15 21:35:29 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-15 21:35:29 +0000
commit9cc321bd9a021fb2bfabfbc27ae9f636c3c98c75 (patch)
treec92a16d155a98acbc52f9f3e7f2709089467dae0 /libavfilter/avfilter.c
parentc74032b7a8756caee8ce2c3a1b874952ba888018 (diff)
Fix a pointer type
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
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index c78862354f..1daf0e5f71 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -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;