[libbluray-devel] indx_parse(): added BD_ATTR_MALLOC

hpi1 git at videolan.org
Tue Apr 1 15:01:41 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr  1 12:07:21 2014 +0300| [4f2b54f097c761fd1cc2d5d5263b54c4fe4b1997] | committer: hpi1

indx_parse(): added BD_ATTR_MALLOC

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4f2b54f097c761fd1cc2d5d5263b54c4fe4b1997
---

 src/libbluray/bdnav/index_parse.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdnav/index_parse.h b/src/libbluray/bdnav/index_parse.h
index c26bb42..7cc3c5f 100644
--- a/src/libbluray/bdnav/index_parse.h
+++ b/src/libbluray/bdnav/index_parse.h
@@ -115,7 +115,7 @@ typedef struct indx_root_s {
 } INDX_ROOT;
 
 
-BD_PRIVATE INDX_ROOT* indx_parse(const char *disc_root);  /* parse index.bdmv */
+BD_PRIVATE INDX_ROOT* indx_parse(const char *disc_root) BD_ATTR_MALLOC;  /* parse index.bdmv */
 BD_PRIVATE void       indx_free(INDX_ROOT **index);
 
 #endif // _INDX_PARSE_H_



More information about the libbluray-devel mailing list