avdevice/decklink_dec: use av_packet_make_refcounted to ensure packets are ref counted
authorJames Almer <jamrial@gmail.com>
Sun, 25 Mar 2018 01:28:42 +0000 (22:28 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 2 Apr 2018 03:36:24 +0000 (00:36 -0300)
commit38fa61b94766fc21bf32a279c77fc4084b30de1c
treee0595105c56f870a4594069e9a12e2ac8f315e97
parente61d8b82a2ca866582454c6c90ffad664e2bb5e1
avdevice/decklink_dec: use av_packet_make_refcounted to ensure packets are ref counted

Partially reverts commit e91f0c4f8b, simplifying code.

Signed-off-by: James Almer <jamrial@gmail.com>
libavdevice/decklink_dec.cpp