diff options
author | Marton Balint <cus@passwd.hu> | 2016-12-10 15:20:31 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-12-27 03:11:59 +0300 |
commit | 89a1471a72cb6e3bb58220584866af54092e446d (patch) | |
tree | a059cb6e80824ad376489eafedc8c64d679210f8 /libavdevice/decklink_dec.cpp | |
parent | 11103a493de5f07a61c6f4f1c37a290fdc8942cb (diff) |
avdevice/decklink_dec: properly initialize no_video variable
Fixes Coverity CID 1396859.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_dec.cpp')
-rw-r--r-- | libavdevice/decklink_dec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index c98c51f6bf..7df841b806 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklink_dec.cpp @@ -208,6 +208,7 @@ decklink_input_callback::decklink_input_callback(AVFormatContext *_avctx) : m_re avctx = _avctx; decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data; ctx = (struct decklink_ctx *)cctx->ctx; + no_video = 0; initial_audio_pts = initial_video_pts = AV_NOPTS_VALUE; pthread_mutex_init(&m_mutex, NULL); } |