mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-02 06:23:23 +02:00
xmvdemux: prefer av_freep() to deallocate audio stream structs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
13381577d1
commit
80d51680b2
@ -546,7 +546,7 @@ static int xmv_read_close(AVFormatContext *s)
|
|||||||
{
|
{
|
||||||
XMVDemuxContext *xmv = s->priv_data;
|
XMVDemuxContext *xmv = s->priv_data;
|
||||||
|
|
||||||
av_free(xmv->audio);
|
av_freep(&xmv->audio);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user