[FFmpeg-cvslog] avdevice/decklink_dec: fix multipacket op47 decoding

Marton Balint git at videolan.org
Wed Oct 4 23:49:44 EEST 2017


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sat Sep 30 23:40:45 2017 +0200| [3dc01223ef5248ec559e439fb22c38721151c894] | committer: Marton Balint

avdevice/decklink_dec: fix multipacket op47 decoding

It was disabled by mistake.

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3dc01223ef5248ec559e439fb22c38721151c894
---

 libavdevice/decklink_dec.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list