[FFmpeg-devel] [PATCH 1/7] avcodec/vc1: Check for excessive resolution

Tomas Härdin tjoppen at acc.umu.se
Mon Aug 19 12:58:03 EEST 2019


mån 2019-08-19 klockan 11:19 +0200 skrev Jean-Baptiste Kempf:
> 
> On Mon, Aug 19, 2019, at 11:02, Tomas Härdin wrote:
> > mån 2019-08-19 klockan 08:17 +0200 skrev Jean-Baptiste Kempf:
> > > You need to explain why. A "NAK" is not enough.
> > > 
> > > 16k pixels x 16k is a large size already for vc1.
> > 
> > Why not fix the calculation? 16K is a thing, and larger resolutions
> > are
> > inevitable..
> 
> 16K is not 16K * 16K. Also, VC1 does not support those resolution.

Why not use max_coded_width/height then? Seems vc1.c limits both to
[2,8192]

/Tomas



More information about the ffmpeg-devel mailing list