[FFmpeg-devel] libavcodec : add psd image file decoder

Michael Niedermayer michael at niedermayer.cc
Wed Dec 14 12:51:09 EET 2016


On Wed, Dec 14, 2016 at 08:46:28AM +0100, Paul B Mahol wrote:
> On 12/14/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> > On Tue, Dec 13, 2016 at 10:23:48PM +0100, Martin Vignali wrote:
> >> 2016-11-24 21:35 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
> >>
> >> > Hello
> >> >
> >> > New patchs in attach
> >> >
> >> > I changed the dimensions check, the check is now :
> >> > ----------------------------------------
> >> > if ((s->height > 30000) && (s->avctx->strict_std_compliance >
> >> > FF_COMPLIANCE_EXPERIMENTAL)) {
> >> >         av_log(s->avctx, AV_LOG_ERROR,
> >> >                "Height > 30000 is experimental, add "
> >> >                "'-strict %d' if you want to try to decode the
> >> > picture.\n",
> >> >                FF_COMPLIANCE_EXPERIMENTAL);
> >> >         return AVERROR_EXPERIMENTAL;
> >> >     }
> >> >
> >> >     s->width = bytestream2_get_be32(&s->gb);
> >> >     if ((s->width > 30000) && (s->avctx->strict_std_compliance >
> >> > FF_COMPLIANCE_EXPERIMENTAL)) {
> >> >         av_log(s->avctx, AV_LOG_ERROR,
> >> >                "Width > 30000 is experimental, add "
> >> >                "'-strict %d' if you want to try to decode the
> >> > picture.\n",
> >> >                FF_COMPLIANCE_EXPERIMENTAL);
> >> >         return AVERROR_EXPERIMENTAL;
> >> >     }
> >> > ----------------------------------------
> >> >
> >> > and change the line_size variable (in PSD Context) to uint_64 (because
> >> > now, width can be > 30000 if -strict set to experimental)
> >> >
> >> > I will send a patch for fate test in another discussion.
> >> >
> >> > Martin
> >> >
> >>
> >> Ping
> >
> > applied
> 
> Without minor bumps.

bumped

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161214/e1bf0227/attachment.sig>


More information about the ffmpeg-devel mailing list