From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 82ADB499A6 for ; Thu, 17 Jul 2025 02:31:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 4060E68EECE; Thu, 17 Jul 2025 05:31:20 +0300 (EEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 10CCB68EEB2 for ; Thu, 17 Jul 2025 05:31:11 +0300 (EEST) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-23649faf69fso4282515ad.0 for ; Wed, 16 Jul 2025 19:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=erj.cc; s=google; t=1752719469; x=1753324269; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b8yZ21qQgHKxIdcjhcQtTZ2gJfRkRYVQv6RyM+UC5LM=; b=RvghdGaX09M2zdx3G/DZwiT2TSRLEGhB0UowNQYWvAS3EohQZQqCho1EBRws+v6SEf 3cZ449quEbeC7CyKEQn73tetgAzn8Yc7xzPgs680WBL5lTzHd+3HkoLXzshFYuRLpNX0 mQkbZx5k6Lx1zjjSDvnrL7NHzZROFdcYthx8vVUEY0owYhB10lvK7ZEWeD1oz3gjYjqF liEoGbq+m4z2Bmsre1sJB93ldechhjstaapn+ec/6CsURLsaxcM9m/LQfPBk4p+7G7hg smTu6uNzkmUFrDsZF6TJXAvf5ZVS7cD2iSKTXZcGlMD3UB4MxBeEnuPPNTchs2yV67ux orBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752719469; x=1753324269; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b8yZ21qQgHKxIdcjhcQtTZ2gJfRkRYVQv6RyM+UC5LM=; b=Q0IdC9SYi8lucWUIniKJm0bghArexTfMBvsze2Ji/pjS+nS3bTdYLv52/epTBHB/0H dVA4NpCyTVGU4UOXEtiy+H3RY9QA1JV21EiUZE8X4fspWrN3lU+TkRliXVuzOsPXCGZ0 t713UbJuwLhWQ1UZUqDiDM3A0ZptwtCnMCYObDstAVBEcEIZOfI5j0+99uj5veMRjPnL TQ0mIh4lI/MrPnUr63+vDKHeH7bxTKnASe42u5SH27RArpfHbAk/I0rmGe+UTapF9dlv jZHlDmeUI282EmT3LCtyTItPWhwLx9kL5FwKDY4BIywKpAvbMlv3x7HC+09fDayOPl8U 6P4w== X-Gm-Message-State: AOJu0YyoDRnBP3nSWpyfx9k29DdAAv6pKN4dwYM21i/aLPaJ04+2XtDB 9GjkiroVfLY13+Md6aMD+Pn1plnPUvaWK9YGr+2MeQxHo9TC/TYF9RfyIbPPe/atrlUBFMj7CRW /ajx0 X-Gm-Gg: ASbGncu1PTAq9p0v5rNwv5dd844J7GW+eS+LTVep7E1VdzQ7/a3i53EmPzGu2ICJgBK +DD+I7UaiFqgwUHVsUg6LLNqR5XuwfimxXkwoRqVM1wipU794+/j1Eo0Mw8NjYjyo6XsY6UaQsL hDetWwkHFxYR7pKJ7Y5jj49B21nSpanNasGw8AP60uuYPU2rey3p69YCZrAipeiRGK3S9UY/weo oYvM6uyKatfAogC2TI2LRoAl49xcDHf/NQAvCQT19QUfrCUzHvXDzI0yid2RXWTLmxNrGgx1AdV xqfReeZh3kNmUSaZV8e7ChNlJAfWV7Zii7/VeWgRZ8K1ZDZ8tTsShSsek+42ZH6BL3ZtaPPPIqK tuROez6UZ2jz9Rt1J/RNilQ2mYRbSIV/WnQ== X-Google-Smtp-Source: AGHT+IEggfi3kVUPZeZjb/QCAXgIHluKEXej2iFwQTpu1fg2zH//RN3zUdo2adD9yq3ZEK5hbYF8pg== X-Received: by 2002:a17:902:c947:b0:23e:1aba:410e with SMTP id d9443c01a7336-23e25684a2dmr75747335ad.2.1752719468772; Wed, 16 Jul 2025 19:31:08 -0700 (PDT) Received: from localhost.localdomain ([50.53.68.99]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-23de4333b39sm139240575ad.161.2025.07.16.19.31.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jul 2025 19:31:08 -0700 (PDT) From: Eric Joyner To: ffmpeg-devel@ffmpeg.org Date: Wed, 16 Jul 2025 19:30:02 -0700 Message-ID: <20250717023057.678-3-erj@erj.cc> X-Mailer: git-send-email 2.49.0.windows.1 In-Reply-To: <20250717023057.678-1-erj@erj.cc> References: <20250717023057.678-1-erj@erj.cc> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] libavformat: Enable jpeg streams in HEIF MOVContext 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: Eric Joyner 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: Nikon HEIFs from a camera or NX studio include a small jpeg thumbnail in addition to the expected HEVC thumbnails; allowing jpegs allows all thumbnails to have an associated stream for Nikon HEIF files. With this, Nikon HEIFs can finally be decoded without failing and the thumbnails can be extracted into their own files. Signed-off-by: Eric Joyner --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 7010e13b50..19b31b032d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -8840,6 +8840,7 @@ static int mov_read_infe(MOVContext *c, AVIOContext *pb, MOVAtom atom, int idx) switch (item_type) { case MKTAG('a','v','0','1'): + case MKTAG('j','p','e','g'): case MKTAG('h','v','c','1'): ret = heif_add_stream(c, c->heif_item[idx]); if (ret < 0) -- 2.49.0.windows.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".