mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
avdevice/decklink_dec: properly initialize no_video variable
Fixes Coverity CID 1396859. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
11103a493d
commit
89a1471a72
@ -208,6 +208,7 @@ decklink_input_callback::decklink_input_callback(AVFormatContext *_avctx) : m_re
|
|||||||
avctx = _avctx;
|
avctx = _avctx;
|
||||||
decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
|
decklink_cctx *cctx = (struct decklink_cctx *)avctx->priv_data;
|
||||||
ctx = (struct decklink_ctx *)cctx->ctx;
|
ctx = (struct decklink_ctx *)cctx->ctx;
|
||||||
|
no_video = 0;
|
||||||
initial_audio_pts = initial_video_pts = AV_NOPTS_VALUE;
|
initial_audio_pts = initial_video_pts = AV_NOPTS_VALUE;
|
||||||
pthread_mutex_init(&m_mutex, NULL);
|
pthread_mutex_init(&m_mutex, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user