From: Steinar H. Gunderson Date: Tue, 23 May 2017 19:53:31 +0000 (+0200) Subject: Fix a crash with interlaced DeckLink inputs. X-Git-Tag: 1.6.0~9 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=1d1a1394ea5eb319ede1a07297dec05333562e1f Fix a crash with interlaced DeckLink inputs. --- diff --git a/mixer.cpp b/mixer.cpp index 857d62b..261c8ee 100644 --- a/mixer.cpp +++ b/mixer.cpp @@ -643,6 +643,7 @@ void Mixer::bm_frame(unsigned card_index, uint16_t timecode, // a deinterlacer to actually get this right. assert(video_format.height % 2 == 0); video_format.height /= 2; + cbcr_height /= 2; assert(frame_length % 2 == 0); frame_length /= 2; num_fields = 2;