mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-17 03:18:39 +00:00
cache: use av_freep instead of av_free in cache_open
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3ceb4c907e
commit
576ada791a
@ -63,7 +63,7 @@ static int cache_open(URLContext *h, const char *arg, int flags)
|
||||
}
|
||||
|
||||
unlink(buffername);
|
||||
av_free(buffername);
|
||||
av_freep(&buffername);
|
||||
|
||||
return ffurl_open(&c->inner, arg, flags, &h->interrupt_callback, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user