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

Steve Lhomme git at videolan.org
Thu Jul 23 07:19:53 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul 22 15:45:20 2020 +0200| [73e1c19c0f0aba2a769a18f8db426624589f31e3] | committer: Steve Lhomme

picture: remove bogus picture_NewFromResource() documentation

picture_NewFromResource() asserts if a NULL is resource is passed and is not
designed anymore to handle that case.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73e1c19c0f0aba2a769a18f8db426624589f31e3
---

 include/vlc_picture.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/vlc_picture.h b/include/vlc_picture.h
index b186adc1be..7bb9ee5083 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;
 



More information about the vlc-commits mailing list