]> git.sesse.net Git - ffmpeg/commit
avdevice/decklink: Suppress warning about misuse of struct instead of class
authorDevin Heitmueller <dheitmueller@ltnglobal.com>
Tue, 9 Jan 2018 01:16:56 +0000 (20:16 -0500)
committerMarton Balint <cus@passwd.hu>
Sat, 20 Jan 2018 17:38:29 +0000 (18:38 +0100)
commit5409f065f2c48ad9c4baf787d08384176cbc62a4
tree342bb2a648b6b86a56fbaf9a6c16b6a40d0f4f3c
parentfc93eca126aa4d68dd37c3e1b9d15bf05565ef04
avdevice/decklink: Suppress warning about misuse of struct instead of class

When building with Clang, the following warning is shown:

warning: struct 'IDeckLinkVideoFrame' was previously declared as a
class [-Wmismatched-tags]

The function incorrectly casts IDeckLinkVideoFrame as a struct
instead of a class pointer.

Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_enc.cpp