History

avdevice/decklink_dec: add explicit specifier

The explicit specifier used with a single argument constructor to prevent implicit type conversions.

Jun Zhao committed 3 years ago

Commit ab3bd5e1 parent 1258f991 file · +1 −1Browse files

Showing the changes to libavdevice/decklink_dec.cpp (1 of 1 file). Show all

Unified · Split

libavdevice/decklink_dec.cpp+1−1
@@ -577,7 +577,7 @@ static void handle_klv(AVFormatContext *avctx, decklink_ctx *ctx, IDeckLinkVideo · 576 unmodified lines
577class decklink_input_callback : public IDeckLinkInputCallback577class decklink_input_callback : public IDeckLinkInputCallback
578{578{
579public:579public:
580 decklink_input_callback(AVFormatContext *_avctx);580 explicit decklink_input_callback(AVFormatContext *_avctx);
581 ~decklink_input_callback();581 ~decklink_input_callback();
582 582
583 virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv) { return E_NOINTERFACE; }583 virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv) { return E_NOINTERFACE; }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t