forked from FFmpeg/FFmpeg
avdevice/decklink_dec: add explicit specifier
The explicit specifier used with a single argument constructor to prevent implicit type conversions. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
parent
1258f99978
commit
ab3bd5ead0
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ static void handle_klv(AVFormatContext *avctx, decklink_ctx *ctx, IDeckLinkVideo
|
|||
class decklink_input_callback : public IDeckLinkInputCallback
|
||||
{
|
||||
public:
|
||||
decklink_input_callback(AVFormatContext *_avctx);
|
||||
explicit decklink_input_callback(AVFormatContext *_avctx);
|
||||
~decklink_input_callback();
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv) { return E_NOINTERFACE; }
|
||||
|
|
Loading…
Add table
Reference in a new issue