From 0b1bd1b2057d41fd0ccba7317911c484a50f9207 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 13 Jul 2016 11:41:35 -0400 Subject: lavd: Drop unneeded av_init_packet()s The input packet is already unref'd by the calling function. --- libavdevice/v4l2.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavdevice/v4l2.c') diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 74fec51203..47241e47a1 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -861,7 +861,6 @@ FF_ENABLE_DEPRECATION_WARNINGS #endif int res; - av_init_packet(pkt); if ((res = mmap_read_frame(s1, pkt)) < 0) { return res; } -- cgit v1.2.3