mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 12:44:07 +00:00
Refactor: global.h renaming.
This commit is contained in:
parent
945e6c9c0e
commit
19e9b95a71
|
@ -53,8 +53,8 @@ int config_init(config* cfg)
|
||||||
*/
|
*/
|
||||||
int config_destroy(config* cfg)
|
int config_destroy(config* cfg)
|
||||||
{
|
{
|
||||||
free_pointer(cfg->input);
|
FREE_POINTER(cfg->input);
|
||||||
free_pointer(cfg->output);
|
FREE_POINTER(cfg->output);
|
||||||
free(cfg);
|
free(cfg);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -75,6 +75,6 @@
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define free_pointer(pointer) { free(pointer); pointer = NULL; }
|
#define FREE_POINTER(pointer) { free(pointer); pointer = NULL; }
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in a new issue