mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
avdevice/decklink_dec: fix warning for unused variable
Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
@@ -945,13 +945,13 @@ HRESULT decklink_input_callback::VideoInputFrameArrived(
|
|||||||
|
|
||||||
if (videoFrame->GetAncillaryData(&vanc) == S_OK) {
|
if (videoFrame->GetAncillaryData(&vanc) == S_OK) {
|
||||||
int i;
|
int i;
|
||||||
int64_t line_mask = 1;
|
|
||||||
BMDPixelFormat vanc_format = vanc->GetPixelFormat();
|
BMDPixelFormat vanc_format = vanc->GetPixelFormat();
|
||||||
txt_buf[0] = 0x10; // data_identifier - EBU_data
|
txt_buf[0] = 0x10; // data_identifier - EBU_data
|
||||||
txt_buf++;
|
txt_buf++;
|
||||||
#if CONFIG_LIBZVBI
|
#if CONFIG_LIBZVBI
|
||||||
if (ctx->bmd_mode == bmdModePAL && ctx->teletext_lines &&
|
if (ctx->bmd_mode == bmdModePAL && ctx->teletext_lines &&
|
||||||
(vanc_format == bmdFormat8BitYUV || vanc_format == bmdFormat10BitYUV)) {
|
(vanc_format == bmdFormat8BitYUV || vanc_format == bmdFormat10BitYUV)) {
|
||||||
|
int64_t line_mask = 1;
|
||||||
av_assert0(videoFrame->GetWidth() == 720);
|
av_assert0(videoFrame->GetWidth() == 720);
|
||||||
for (i = 6; i < 336; i++, line_mask <<= 1) {
|
for (i = 6; i < 336; i++, line_mask <<= 1) {
|
||||||
uint8_t *buf;
|
uint8_t *buf;
|
||||||
|
|||||||
Reference in New Issue
Block a user