avdevice/decklink_dec: use av_packet_add_side_data()
authorJames Almer <jamrial@gmail.com>
Mon, 2 Oct 2017 02:31:12 +0000 (23:31 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 2 Oct 2017 18:04:40 +0000 (15:04 -0300)
commit0c1ffd0aa55c6cef6dffe2b736786c6cb86d8a3d
tree49b3fb8876d1a46f8ac93490c4087dcc7f9f38ee
parenta22c6a4796ca1f2cbee6784262515da876fbec22
avdevice/decklink_dec: use av_packet_add_side_data()

It uses the existing buffer instead of allocating a new one.

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: James Almer <jamrial@gmail.com>
libavdevice/decklink_dec.cpp