avdevice/decklink_dec: do not copy video data
authorMarton Balint <cus@passwd.hu>
Sun, 22 Apr 2018 20:29:09 +0000 (22:29 +0200)
committerMarton Balint <cus@passwd.hu>
Mon, 30 Apr 2018 20:44:58 +0000 (22:44 +0200)
commit75d1529c6e9069b240bf6471d64e5bc81e0b9013
treebfd524be58ab103cb372dc56f9ea76805a04381e
parent7033654f7f3c6663c9b5005b87fc06c29075244d
avdevice/decklink_dec: do not copy video data

Create a buffer from the data instead and use the buffer destructor to free the
DeckLink frame. This avoids a memcpy of the frame data.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_dec.cpp