avdevice/decklink_dec: fix multipacket op47 decoding

It was disabled by mistake.

Signed-off-by: Marton Balint <cus@passwd.hu>
pull/273/head
Marton Balint 7 years ago
parent cbf09f23b6
commit 3dc01223ef
  1. 2
      libavdevice/decklink_dec.cpp

@ -379,7 +379,7 @@ uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,
av_log(avctx, AV_LOG_WARNING, "VANC parity or checksum incorrect\n");
goto skip_packet;
}
tgt = teletext_data_unit_from_ancillary_packet(buf + 3, buf + len, tgt, cctx->teletext_lines, 0);
tgt = teletext_data_unit_from_ancillary_packet(buf + 3, buf + len, tgt, cctx->teletext_lines, 1);
} else if (did == 0x61 && sdid == 0x01) {
unsigned int data_len;
uint8_t *data;

Loading…
Cancel
Save