Commit 99339654 authored by vitor's avatar vitor

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12081 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3a7dbe6a
...@@ -72,9 +72,10 @@ typedef struct AVFilterPicRef ...@@ -72,9 +72,10 @@ typedef struct AVFilterPicRef
/** /**
* Add a new reference to a picture. * Add a new reference to a picture.
* @param ref An existing reference to the picture * @param ref An existing reference to the picture
* @param pmask A bitmask containing the allowable permissions in the new reference
* @return A new reference to the picture with the same properties as the old * @return A new reference to the picture with the same properties as the old
*/ */
AVFilterPicRef *avfilter_ref_pic(AVFilterPicRef *ref); AVFilterPicRef *avfilter_ref_pic(AVFilterPicRef *ref, int pmask);
/** /**
* Remove a reference to a picture. If this is the last reference to the * Remove a reference to a picture. If this is the last reference to the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment