aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/decklink_dec.cpp
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-09-30 23:40:45 +0200
committerMarton Balint <cus@passwd.hu>2017-10-04 22:44:42 +0200
commit3dc01223ef5248ec559e439fb22c38721151c894 (patch)
treed62c6f9138893c15c98649c574996ed78f42670c /libavdevice/decklink_dec.cpp
parentcbf09f23b655b672928fc8567646ac7ee3a4b280 (diff)
downloadffmpeg-3dc01223ef5248ec559e439fb22c38721151c894.tar.gz
avdevice/decklink_dec: fix multipacket op47 decoding
It was disabled by mistake. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_dec.cpp')
-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 53ff576ec5..f496a58059 100644
--- a/libavdevice/decklink_dec.cpp
+++ b/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;