Commit 359b5a0e authored by Laurent Aimar's avatar Laurent Aimar

Made picture_Hold return the provided picture.

parent 6452698b
......@@ -183,11 +183,14 @@ VLC_EXPORT( void, picture_Delete, ( picture_t * ) );
* This function will increase the picture reference count.
* It will not have any effect on picture obtained from vout
* It returns the given picture for convenience.
static inline void picture_Hold( picture_t *p_picture )
static inline picture_t *picture_Hold( picture_t *p_picture )
if( p_picture->pf_release )
return p_picture;
* This function will release a picture.
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