From patchwork Sun Oct 1 15:28:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marton Balint X-Patchwork-Id: 5356 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.61.8 with SMTP id n8csp594487jan; Sun, 1 Oct 2017 08:37:46 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDqiMptD8YnVD9MYLFvdIRgVBajFTWiknHJFjgOZLstTTruhgGsrka0JkJcCgL6c82YLDVC X-Received: by 10.223.167.10 with SMTP id c10mr5010900wrd.232.1506872266849; Sun, 01 Oct 2017 08:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506872266; cv=none; d=google.com; s=arc-20160816; b=rpW1aahUrjqAR26gpaJzkauQ2E+4+Ej6Wb8OYDY20EtGBA/PrgVCLwPJn3Pnv6eGCp 7xXB3/ZpQeBdQx5EsUZ+23gmVsfBfkDBrdLYiX6RotG2yhaQzG1xOsLYcYZ63QaUGdII SKn48I65oBO257xTDee/pz9MUDulze7c2GjMxoxJ2vwAVqfiJBgBHIqg1BAB75yOAqiv nVh8S2jqUYDrxSvQeeC826y2S5tU9JWoJvFsplRAcWCjUU0PV+jFQMWjW95IcdwKnhJQ qIF9VK/iZqObvImNACKpAF2CmLaIDB2D3Jf7SDM/Y5glUTXDCCXLMOy1MXCTeNo6Onl+ NQYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=iJLL9OoYRGUkY/IaqjXn6w1iXw1clgmsHzhbZm8hanY=; b=TRngmkxxbFgK1ZEQfW4dhTYlkD9hmicM9edA9bhkoFu+bvq3T69AC6jHIHsqY2wDgy cnCJeJLFqZ2FLr2jjSxlEf1RfMRMV1bq9O8u5jGTboyv60Fzjn27mBtCkBYhuW/blq9j hbMceSq37zUrtQ7e4KVjOJbotF3FG8XOJY8XSlmngdfomaJztKu3BUmAhAkNrU9qYKcS MmlQ2FpAmNEw84515zA42/pTZ1ZCZIn7zyiIKi+IazMGi1yaNKrl7IzDaSJE+WBpVq7a kzzFwxJf88pCFFDeBPPUParH+W9wn0Upd8w/ZweYt0raYKIYwmNyVq5jYfKSn2OGMCM2 PqRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a187si5964014wmh.11.2017.10.01.08.37.46; Sun, 01 Oct 2017 08:37:46 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 677B5680A81; Sun, 1 Oct 2017 18:37:31 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8D28D680413 for ; Sun, 1 Oct 2017 18:37:25 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 74848E141F; Sun, 1 Oct 2017 17:37:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BVyPZbotV1QN; Sun, 1 Oct 2017 17:37:38 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 90099E0E47; Sun, 1 Oct 2017 17:37:38 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Sun, 1 Oct 2017 17:28:45 +0200 Message-Id: <20171001152845.7194-1-cus@passwd.hu> X-Mailer: git-send-email 2.13.5 Subject: [FFmpeg-devel] [PATCH] avdevice/decklink_dec: fix multipacket op47 decoding X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marton Balint MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" It was disabled by mistake. Signed-off-by: Marton Balint --- 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;