* [FFmpeg-devel] [PATCH]lavc/tiff: Support multi-component files without RowsPerStrip tag
@ 2022-08-31 17:48 Carl Eugen Hoyos
2022-09-01 2:10 ` Steven Liu
0 siblings, 1 reply; 3+ messages in thread
From: Carl Eugen Hoyos @ 2022-08-31 17:48 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 74 bytes --]
Hi!
Attached patch fixes ticket #9514 for me.
Please review, Carl Eugen
[-- Attachment #2: 0001-lavc-tiff-Support-multi-component-files-without-Rows.patch --]
[-- Type: text/x-patch, Size: 782 bytes --]
From 98df40635315363bfc248f5c5e94d89bdb261b5b Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Date: Wed, 31 Aug 2022 19:37:19 +0200
Subject: [PATCH] lavc/tiff: Support multi-component files without RowsPerStrip
tag.
Fixes ticket #9514.
---
libavcodec/tiff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index b0595b56c0..109392ad44 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -1367,7 +1367,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
} else
s->strippos = off;
s->strips = count;
- if (s->strips == 1)
+ if (s->strips == s->bppcount)
s->rps = s->height;
s->sot = type;
break;
--
2.30.1
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH]lavc/tiff: Support multi-component files without RowsPerStrip tag
2022-08-31 17:48 [FFmpeg-devel] [PATCH]lavc/tiff: Support multi-component files without RowsPerStrip tag Carl Eugen Hoyos
@ 2022-09-01 2:10 ` Steven Liu
2022-09-01 18:28 ` Carl Eugen Hoyos
0 siblings, 1 reply; 3+ messages in thread
From: Steven Liu @ 2022-09-01 2:10 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Carl Eugen Hoyos <ceffmpeg@gmail.com> 于2022年9月1日周四 01:48写道:
>
> Hi!
>
> Attached patch fixes ticket #9514 for me.
>
> Please review, Carl Eugen
> _______________________________________________
> 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".
lgtm
Thanks
Steven
_______________________________________________
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH]lavc/tiff: Support multi-component files without RowsPerStrip tag
2022-09-01 2:10 ` Steven Liu
@ 2022-09-01 18:28 ` Carl Eugen Hoyos
0 siblings, 0 replies; 3+ messages in thread
From: Carl Eugen Hoyos @ 2022-09-01 18:28 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Am Do., 1. Sept. 2022 um 04:10 Uhr schrieb Steven Liu <lingjiujianke@gmail.com>:
>
> Carl Eugen Hoyos <ceffmpeg@gmail.com> 于2022年9月1日周四 01:48写道:
> >
> > Hi!
> >
> > Attached patch fixes ticket #9514 for me.
> >
> > Please review, Carl Eugen
>
> lgtm
Patch applied.
Thank you, Carl Eugen
_______________________________________________
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-01 18:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 17:48 [FFmpeg-devel] [PATCH]lavc/tiff: Support multi-component files without RowsPerStrip tag Carl Eugen Hoyos
2022-09-01 2:10 ` Steven Liu
2022-09-01 18:28 ` Carl Eugen Hoyos
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git