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 244A343C2C for ; Tue, 23 Aug 2022 06:20:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 68AC168BA31; Tue, 23 Aug 2022 09:20:20 +0300 (EEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0212168B8AD for ; Tue, 23 Aug 2022 09:20:13 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661235619; x=1692771619; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=5zpmE1kVFp8/copFLP8UyTNwQu//01bOCSyhxCFYWEw=; b=h8+wTy/LKsQdI7EFHOFaLfBhwp6xFNqLUdeU8MXn727fgG5ZE/On6EcJ iWpnopupREccxQWAPCPlqvhmqOVlDNK2Bpq8Ve9uDByChluyfJiEn2gWP XQWsjxUDR3i6By6FFKZr84Uu2a+WyuZQZOEKZGeoxpTSuJWHKVFKpJNHM pEUmDdTlf6Rix3PMMxsFncO7up7jSvqPm5gQ1kggbXoGEtzNfQKBpDBzX dNo8hzY08uiYS7aAVNP9+JzVnmSVmbTwfLQBt8yb2VUFJ8VVvZr7or+MA 4+OoOAOlPcyO9eHQLzvo7j7KmHwDzCkNY9KowLvdierRvbk+7ZDkBo4RN w==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="379892647" X-IronPort-AV: E=Sophos;i="5.93,256,1654585200"; d="scan'208";a="379892647" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 23:20:06 -0700 X-IronPort-AV: E=Sophos;i="5.93,256,1654585200"; d="scan'208";a="585845471" Received: from xhh-dg164.sh.intel.com ([10.238.5.169]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 23:20:05 -0700 From: "Xiang, Haihao" To: ffmpeg-devel@ffmpeg.org Date: Tue, 23 Aug 2022 14:19:05 +0800 Message-Id: <20220823061905.4702-2-haihao.xiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220823061905.4702-1-haihao.xiang@intel.com> References: <20220823061905.4702-1-haihao.xiang@intel.com> Subject: [FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: enlarge the SPS buffer to retrieve larger header 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: Haihao Xiang , gavin zhang MIME-Version: 1.0 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: From: gavin zhang Increase SPS header buffer to support larger header Signed-off-by: gavin zhang Signed-off-by: Haihao Xiang --- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index f1838ce597..7ac5390f10 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1064,7 +1064,7 @@ static int qsv_retrieve_enc_params(AVCodecContext *avctx, QSVEncContext *q) { AVCPBProperties *cpb_props; - uint8_t sps_buf[128]; + uint8_t sps_buf[512]; uint8_t pps_buf[128]; mfxExtCodingOptionSPSPPS extradata = { -- 2.17.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".