summaryrefslogtreecommitdiff
path: root/libavformat/xmv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-21 19:42:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-21 19:42:44 +0200
commit80d51680b2a21139ddc1b7335952e6f0e9aa43ac (patch)
tree86b243a374251a0360b56d802fb30bd2ae836add /libavformat/xmv.c
parent13381577d181fa732d6d2fa0491fa2ff50186546 (diff)
downloadffmpeg-80d51680b2a21139ddc1b7335952e6f0e9aa43ac.tar.gz
xmvdemux: prefer av_freep() to deallocate audio stream structs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/xmv.c')
-rw-r--r--libavformat/xmv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index 73c666ddf9..5fcc540169 100644
--- a/libavformat/xmv.c
+++ b/libavformat/xmv.c
@@ -546,7 +546,7 @@ static int xmv_read_close(AVFormatContext *s)
{
XMVDemuxContext *xmv = s->priv_data;
- av_free(xmv->audio);
+ av_freep(&xmv->audio);
return 0;
}