aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-11-19 22:35:02 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-11-23 16:18:57 +0800
commit01eb05207cbbe44e4c58a15894d49ff81a465a37 (patch)
tree0d96f4374c1f82a6df884fa505c69c3f3ca1a825 /libavdevice
parent3d0a7ae460eaafde79892c17d8f6f4b1754ccb70 (diff)
downloadffmpeg-01eb05207cbbe44e4c58a15894d49ff81a465a37.tar.gz
avdevice/decklink_dec: fix warning for unused variable
Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/decklink_dec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
index 049e1335b6..2e41b587e8 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/libavdevice/decklink_dec.cpp
@@ -945,13 +945,13 @@ HRESULT decklink_input_callback::VideoInputFrameArrived(
if (videoFrame->GetAncillaryData(&vanc) == S_OK) {
int i;
- int64_t line_mask = 1;
BMDPixelFormat vanc_format = vanc->GetPixelFormat();
txt_buf[0] = 0x10; // data_identifier - EBU_data
txt_buf++;
#if CONFIG_LIBZVBI
if (ctx->bmd_mode == bmdModePAL && ctx->teletext_lines &&
(vanc_format == bmdFormat8BitYUV || vanc_format == bmdFormat10BitYUV)) {
+ int64_t line_mask = 1;
av_assert0(videoFrame->GetWidth() == 720);
for (i = 6; i < 336; i++, line_mask <<= 1) {
uint8_t *buf;