You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-21 16:47:28 +02:00
Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 523d9407d5)
This commit is contained in:
committed by
Michael Niedermayer
parent
c54ac7a8f2
commit
b9004bd50c
+1
-1
@@ -67,7 +67,7 @@ void *av_tree_find(const struct AVTreeNode *root, void *key, int (*cmp)(void *ke
|
||||
* return av_tree_insert(rootp, key, cmp, next);
|
||||
* }
|
||||
* void *tree_remove(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b, AVTreeNode **next)){
|
||||
* if(*next) av_freep(next);
|
||||
* av_freep(next);
|
||||
* return av_tree_insert(rootp, key, cmp, next);
|
||||
* }
|
||||
* @endcode
|
||||
|
||||
Reference in New Issue
Block a user