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

Marton Balint cus at passwd.hu
Wed Oct 4 23:52:37 EEST 2017



On Sun, 1 Oct 2017, Marton Balint wrote:

> It was disabled by mistake.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> 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 9f6c4598ba..cbad4d6ee2 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;

Pushed.

Regards,
Marton


More information about the ffmpeg-devel mailing list