[vlc-devel] [PATCH] picture: remove bogus picture_NewFromResource() documentation

Steve Lhomme robux4 at ycbcr.xyz
Wed Jul 22 15:58:46 CEST 2020


picture_NewFromResource() asserts if a NULL is resource is passed and is not
designed anymore to handle that case.
---
 include/vlc_picture.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/vlc_picture.h b/include/vlc_picture.h
index b186adc1be9..7bb9ee5083c 100644
--- a/include/vlc_picture.h
+++ b/include/vlc_picture.h
@@ -205,8 +205,6 @@ typedef struct
 
 /**
  * This function will create a new picture using the provided resource.
- *
- * If the resource is NULL then a plain picture_NewFromFormat is returned.
  */
 VLC_API picture_t * picture_NewFromResource( const video_format_t *, const picture_resource_t * ) VLC_USED;
 
-- 
2.26.2



More information about the vlc-devel mailing list