Unified · Split
| @@ -945,13 +945,13 @@ HRESULT decklink_input_callback::VideoInputFrameArrived( · 944 unmodified lines | ||
| 945 | 945 | |
| 946 | 946 | if (videoFrame->GetAncillaryData(&vanc) == S_OK) { |
| 947 | 947 | int i; |
| 948 | − int64_t line_mask = 1; | |
| 949 | 948 | BMDPixelFormat vanc_format = vanc->GetPixelFormat(); |
| 950 | 949 | txt_buf[0] = 0x10; // data_identifier - EBU_data |
| 951 | 950 | txt_buf++; |
| 952 | 951 | #if CONFIG_LIBZVBI |
| 953 | 952 | if (ctx->bmd_mode == bmdModePAL && ctx->teletext_lines && |
| 954 | 953 | (vanc_format == bmdFormat8BitYUV || vanc_format == bmdFormat10BitYUV)) { |
| 954 | + int64_t line_mask = 1; | |
| 955 | 955 | av_assert0(videoFrame->GetWidth() == 720); |
| 956 | 956 | for (i = 6; i < 336; i++, line_mask <<= 1) { |
| 957 | 957 | uint8_t *buf; |