From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 43007450AB for ; Sat, 6 May 2023 17:39:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C801668C11D; Sat, 6 May 2023 20:38:52 +0300 (EEST) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5CBFF68C02E for ; Sat, 6 May 2023 20:38:45 +0300 (EEST) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-38bed577755so1081696b6e.0 for ; Sat, 06 May 2023 10:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683394724; x=1685986724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=6pfZI4R/X8zkmKefbShZCgBCHyHEt5F3b4DTDortTZI=; b=a0LW/XAX2yJ2dAODQ1vyuEI5fHZOBOo5IZP/NJE/yK4cR98wLvgEyPjGuyEDDb5UU+ cl666sfemJ9cYgXu12JhCY0F1Mm2OX3UqUkVnUduVgsmRGdTAY0QC/nekFCNWqN4ZYC4 lpY0FHHMd7M7JSz3fZLllY7YVkibD9Yejtfc4Rm8ByzoOvT2Tf8bPhOEV93hSoRc0aOa VVSo150Fi4OGy1JAZa3Vf/DzRmnkzTBA3n+jwnSwoBGi2Xxf2AMX1Ti073hy/lAa8RrU 7Gg5nPfeuZJrHPCqpz6na6AKe682rj1ERlsVm2pJtyf2SOulOPZYLQQMNTkxcNavqQ4e nsmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683394724; x=1685986724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6pfZI4R/X8zkmKefbShZCgBCHyHEt5F3b4DTDortTZI=; b=KSi23aMIn3czhP/lR2rTo4hIeFJa/JW6y9Fy2tFpCvmFKbQKrywNINMa/zaVGLvGPf r8k+3yKgB5er+X2uzVp2Jy3rb8u3Cj7+eKLUxItSCSuBPN4iJIwZN0fafXnv57ESdK5a 6TLWUA7FBpHBvdXt6p4efsIfGTA2mCwqml816xkybfOrXg4vaLLLebQUm1scSipGKcis KpBWdy7dJoFJVSSEzcBYd8/D5+eKB0Jz85t9HoV1MC7EJby3cOxhoZ4RI6/9HdGxWVFp mxfgHlkgRERBlc7Sp8CRebvERMpw19YIaLmAWBR7+6EHLaF1kbA+tOrj5UbOYIDHcLeI EyvA== X-Gm-Message-State: AC+VfDxO1uS/YFG3YuRtSsJU6n9ylw9WG+BT6fRo/UypLIBXvkQDIyOQ /8mvxyMv7PXfu7VaXymo1GaxYH30up4= X-Google-Smtp-Source: ACHHUZ7paF3alvgu2aCf+eckcVfuQGsqSOLtnQKhkGsxp1uWOX7A8/OoG1v/CQMKbq+AV0BgQDYPfw== X-Received: by 2002:a05:6808:e:b0:38e:5bb0:2e96 with SMTP id u14-20020a056808000e00b0038e5bb02e96mr2139707oic.28.1683394723742; Sat, 06 May 2023 10:38:43 -0700 (PDT) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id m205-20020acabcd6000000b0038de993f3a6sm4198072oif.53.2023.05.06.10.38.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 May 2023 10:38:43 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sat, 6 May 2023 14:37:57 -0300 Message-Id: <20230506173759.7793-2-jamrial@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230506173759.7793-1-jamrial@gmail.com> References: <20230506173759.7793-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/4] avcodec/bitpacked_dec: add missing props to decoded uyvy422 streams X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Signed-off-by: James Almer --- libavcodec/bitpacked_dec.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/bitpacked_dec.c b/libavcodec/bitpacked_dec.c index c88f861993..064cc29e7a 100644 --- a/libavcodec/bitpacked_dec.c +++ b/libavcodec/bitpacked_dec.c @@ -27,6 +27,7 @@ */ #include "avcodec.h" +#include "decode.h" #include "codec_internal.h" #include "get_bits.h" #include "libavutil/imgutils.h" @@ -43,6 +44,12 @@ static int bitpacked_decode_uyvy422(AVCodecContext *avctx, AVFrame *frame, { int ret; + frame->width = avctx->width; + frame->height = avctx->height; + ret = ff_decode_frame_props(avctx, frame); + if (ret < 0) + return ret; + /* there is no need to copy as the data already match * a known pixel format */ frame->buf[0] = av_buffer_ref(avpkt->buf); -- 2.40.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".