diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:12:43 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:12:43 +0000 |
commit | 8fb48e7c44feb1e6263228e0427ad66cf06fdc6e (patch) | |
tree | a104dbd214095276aa7cfa9ba2d74f8eadf136b5 /libavfilter/avfilter.h | |
parent | d3e57c15cfbaa1bbabb0c718c4e5c969c18f4181 (diff) |
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 12081 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index ed445dae84..c680504bb0 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -72,9 +72,10 @@ typedef struct AVFilterPicRef /** * Add a new reference to a 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 */ -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 |