diff options
author | James Almer <jamrial@gmail.com> | 2021-05-02 10:22:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-05-06 09:44:42 -0300 |
commit | 42895f590a3ab6cba57a5a7d47434faec2174f70 (patch) | |
tree | a1beaf5b9e62fc7dbf15ab567e79ec920733bdc8 /libavformat/avidec.c | |
parent | 57aaeff523ec45039c564765673c998ee900d4f9 (diff) | |
download | ffmpeg-42895f590a3ab6cba57a5a7d47434faec2174f70.tar.gz |
avformat/avidec: 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>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index d5dcab6193..e0d868e074 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1494,10 +1494,8 @@ resync: } if (CONFIG_DV_DEMUXER && dv_demux) { - AVBufferRef *avbuf = pkt->buf; size = avpriv_dv_produce_packet(avi->dv_demux, pkt, pkt->data, pkt->size, pkt->pos); - pkt->buf = avbuf; pkt->flags |= AV_PKT_FLAG_KEY; if (size < 0) av_packet_unref(pkt); |