History

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

Vitor Sessak committed 18 years ago

Commit 9cc321b1 parent c74032b1 file · +1 −1Browse files

Unified · Split

libavfilter/avfilter.c+1−1
@@ -55,7 +55,7 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms) · 54 unmodified lines
55 pic->free = avfilter_default_free_video_buffer;55 pic->free = avfilter_default_free_video_buffer;
56 avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);56 avpicture_alloc((AVPicture *)pic, pic->format, ref->w, ref->h);
57 57
58 memcpy(ref->data, pic->data, sizeof(int *) * 4);58 memcpy(ref->data, pic->data, sizeof(uint8_t *) * 4);
59 memcpy(ref->linesize, pic->linesize, sizeof(int *) * 4);59 memcpy(ref->linesize, pic->linesize, sizeof(int *) * 4);
60 60
61 return ref;61 return ref;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t