From a447b75de8edb8658ad3c50af0c342bcdda2b57b Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 23 Sep 2017 20:30:13 -0300 Subject: avformat: replace all uses of av_copy_packet() Signed-off-by: James Almer --- libavformat/webpenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/webpenc.c') diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c index 2e0147cefd..9fb472257d 100644 --- a/libavformat/webpenc.c +++ b/libavformat/webpenc.c @@ -158,7 +158,7 @@ static int webp_write_packet(AVFormatContext *s, AVPacket *pkt) int ret; if ((ret = flush(s, 0, pkt->pts)) < 0) return ret; - av_copy_packet(&w->last_pkt, pkt); + av_packet_ref(&w->last_pkt, pkt); } ++w->frame_count; -- cgit v1.2.3