Commit 80d51680 authored by Michael Niedermayer's avatar Michael Niedermayer

xmvdemux: prefer av_freep() to deallocate audio stream structs.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 13381577
...@@ -546,7 +546,7 @@ static int xmv_read_close(AVFormatContext *s) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment