mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
avformat/avio: Use ffurl_closep
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
8c2f81a17a
commit
2205fb2810
@ -346,8 +346,7 @@ int ffurl_open_whitelist(URLContext **puc, const char *filename, int flags,
|
||||
if (!ret)
|
||||
return 0;
|
||||
fail:
|
||||
ffurl_close(*puc);
|
||||
*puc = NULL;
|
||||
ffurl_closep(puc);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user