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 A7F5146C6C for ; Sun, 8 Oct 2023 11:58:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1EF6368CA03; Sun, 8 Oct 2023 14:58:13 +0300 (EEST) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1464568C8E9 for ; Sun, 8 Oct 2023 14:58:04 +0300 (EEST) X-QQ-mid: bizesmtp70t1696766261tieefld2 Received: from localhost ( [103.102.203.205]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 08 Oct 2023 19:57:40 +0800 (CST) X-QQ-SSF: 01100000000000Z0Z000000A0000000 X-QQ-FEAT: 5q30pvLz2ic9FdzKFlV20yO0GZ71zDxzPDJEcj/am1jQJTwVJgaJyJjzDBKcj +l5Yr6oixbE7JQ37h7/GL2fY6q+na39eHEf6bZttCiEEZwf8nIqeOev8PT6oSMfQJYN3uDl ujRQjGvIO3cnWgLv7F+4oBVPafV4ewr3M7/77E89bfdWwTcOHSA97JUrQfndN70SyP1WM67 HKv6WKU1fgHZOph5TEZ1BFtZL0+pC+Hgu+gSiIjuMdHmmhFNi1bcmPLUBzRM9uu1v4JGirw YJ6sTH7J8dRvXGLhqhBLEwbnA0ekiJwjQYANeGBramxNF+7/W49EgExIftKo0q65JyoQkmg VIN2NevdNEoeHklAKDjt7cfCcbbug== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 13205801142453121922 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Sun, 8 Oct 2023 19:57:37 +0800 Message-Id: <20231008115737.80200-1-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybglogicsvrsz:qybglogicsvrsz3a-0 Subject: [FFmpeg-devel] [PATCH v1] avcodec/libaomdec: don't set aspect ratio when it's not yet known 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 Cc: Steven Liu 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: Makes the output of the libaom av1 decoder consistent with external decoders like libdav1d. reference commit: 1652f2492f88434010053289d946dab6a57e4d58 Signed-off-by: Steven Liu --- libavcodec/libaomdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c index 695d901051..ff4137bfc6 100644 --- a/libavcodec/libaomdec.c +++ b/libavcodec/libaomdec.c @@ -204,7 +204,6 @@ static int aom_decode(AVCodecContext *avctx, AVFrame *picture, picture->height * img->r_w, picture->width * img->r_h, INT_MAX); - ff_set_sar(avctx, picture->sample_aspect_ratio); if ((img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) && img->bit_depth == 8) ff_aom_image_copy_16_to_8(picture, img); -- 2.40.0 _______________________________________________ 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".