mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 05:31:04 +08:00
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
This commit is contained in:
@ -55,7 +55,7 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms)
|
|||||||
pic->free = avfilter_default_free_video_buffer;
|
pic->free = avfilter_default_free_video_buffer;
|
||||||
avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
|
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);
|
memcpy(ref->linesize, pic->linesize, sizeof(int *) * 4);
|
||||||
|
|
||||||
return ref;
|
return ref;
|
||||||
|
Reference in New Issue
Block a user