diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-01-13 12:04:16 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-02-11 11:37:45 +0100 |
commit | 6f554521afdf7ab4edbfaa9536660a1dca946b19 (patch) | |
tree | 0a75f66dd0a227def77b5bf490b303182269e0a6 /libavformat/rdt.c | |
parent | 99684f3ae752fc8bfb44a2dd1482f8d7a3d8536d (diff) | |
download | ffmpeg-6f554521afdf7ab4edbfaa9536660a1dca946b19.tar.gz |
Use the new AVIOContext destructor.
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r-- | libavformat/rdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c index 825e4f1355..0adfa2534f 100644 --- a/libavformat/rdt.c +++ b/libavformat/rdt.c @@ -324,7 +324,7 @@ get_cache: st, rdt->rmst[st->index], pkt); if (rdt->audio_pkt_cnt == 0 && st->codecpar->codec_id == AV_CODEC_ID_AAC) - av_freep(&rdt->rmctx->pb); + avio_context_free(&rdt->rmctx->pb); } pkt->stream_index = st->index; pkt->pts = *timestamp; |