History

Make avfilter_ref_pic also handle removal of permissions for the caller.

Commited in SoC by Bobby Bingham on 2007-07-08 16:14:49 Originally committed as revision 11980 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak committed 18 years ago

Commit efb36bf1 parent 426d5c21 file · +2 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.c+2−1
@@ -73,10 +73,11 @@ void avfilter_default_end_frame(AVFilterLink *link) · 72 unmodified lines
7373 link->cur_pic = NULL;
7474 }
7575
76−AVFilterPicRef *avfilter_ref_pic(AVFilterPicRef *ref)
76+AVFilterPicRef *avfilter_ref_pic(AVFilterPicRef *ref, int pmask)
7777 {
7878 AVFilterPicRef *ret = av_malloc(sizeof(AVFilterPicRef));
7979 memcpy(ret, ref, sizeof(AVFilterPicRef));
80+ ret->perms &= pmask;
8081 ret->pic->refcount ++;
8182 return ret;
8283 }

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