diff options
author | Michael Niedermayer | 2012-04-21 19:42:44 +0200 |
---|---|---|
committer | Michael Niedermayer | 2012-04-21 19:42:44 +0200 |
commit | 80d51680b2a21139ddc1b7335952e6f0e9aa43ac (patch) | |
tree | 86b243a374251a0360b56d802fb30bd2ae836add /libavformat/xmv.c | |
parent | 13381577d181fa732d6d2fa0491fa2ff50186546 (diff) |
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.c | 2 |
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; } |