mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
Use the new AVIOContext destructor.
(cherry picked from commit 6f554521af)
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
b12e4d3bb8
commit
78a7af823b
@@ -323,7 +323,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;
|
||||
|
||||
Reference in New Issue
Block a user