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 27E96481F2 for ; Sun, 11 Aug 2024 08:59:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 50CE168D99C; Sun, 11 Aug 2024 11:59:11 +0300 (EEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1865968D8B3 for ; Sun, 11 Aug 2024 11:59:04 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 06FC760002 for ; Sun, 11 Aug 2024 08:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1723366743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JtkgGNAk5OMvkuzpdzZC1ehqrkCQra8JHu6JwpzjhYU=; b=k4swTStXWHQoRLuRtEF9U1lujfianXxftbTKp1smnviUG8yfEVfm4qWBZlpDF4phFDKp4Z F2NkaScX74+EFM7AJe+ZJUfRu0y0Ef24sFX3tY5bm3A6E6qiJa4exXipCfrpxbwtG0U1t1 sct4RPDQ55PIfgGcIW5T3u/IpKZX8wu6iKvEDua+bzt6eBy5Npzs2FB1Fe357wDuCqaaeq 6AnMmQP/m8jYmHH0Jq6SnYIt3ok5h94Vq8ZcIXraEgx6d6b8Mo4c4H3no7mz0njOQaCxI6 2LWwsett0ieuUc464CioTkoUAefjQWc385W9H7ZKLLp0oSURButSh65GkilRaw== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 11 Aug 2024 10:59:02 +0200 Message-ID: <20240811085902.181819-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH] tools/target_enc_fuzzer: Add slices and level for FFv1 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: Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- tools/target_enc_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/target_enc_fuzzer.c b/tools/target_enc_fuzzer.c index 059d7830710..59c2db4bb42 100644 --- a/tools/target_enc_fuzzer.c +++ b/tools/target_enc_fuzzer.c @@ -149,6 +149,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { av_dict_set_int(&opts, "coder", coder, 0); av_dict_set_int(&opts, "context", bytestream2_get_byte(&gbc)&1, 0); av_dict_set_int(&opts, "slicecrc", bytestream2_get_byte(&gbc)&1, 0); + ctx->slices = bytestream2_get_byte(&gbc); + ctx->level = bytestream2_get_byte(&gbc) % 6 - 1; break;} } } -- 2.45.2 _______________________________________________ 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".