diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-07-13 11:41:35 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-07-13 18:20:27 -0400 |
commit | 0b1bd1b2057d41fd0ccba7317911c484a50f9207 (patch) | |
tree | 2be4ee493ff6f859c167d129df3ae7181bfe9bf0 /libavdevice/v4l2.c | |
parent | 390b95b88b2b896b63f257f69e434dfc0111e076 (diff) |
lavd: Drop unneeded av_init_packet()s
The input packet is already unref'd by the calling function.
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r-- | libavdevice/v4l2.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |