diff options
author | James Almer <jamrial@gmail.com> | 2021-05-02 10:23:01 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-06 09:44:42 -0300 |
commit | 55475b3289b3b2e0227c985e41b16d10edd6ab8c (patch) | |
tree | 14b132301f6621c9bd359625cfa21b46a63e5780 | |
parent | 42895f590a3ab6cba57a5a7d47434faec2174f70 (diff) | |
download | ffmpeg-55475b3289b3b2e0227c985e41b16d10edd6ab8c.tar.gz |
avformat/mov: don't save a copy of the packet's AVBufferRef on DV streams
It's no longer needed.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index ca8f06c4cd..ca6a0f2db4 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -7930,9 +7930,7 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt) } #if CONFIG_DV_DEMUXER if (mov->dv_demux && sc->dv_audio_container) { - AVBufferRef *buf = pkt->buf; ret = avpriv_dv_produce_packet(mov->dv_demux, pkt, pkt->data, pkt->size, pkt->pos); - pkt->buf = buf; av_packet_unref(pkt); if (ret < 0) return ret; |