[FFmpeg-devel] [PATCH 4/4] tools/target_dec_fuzzer: Adjust max_pixels for IDCIN

Paul B Mahol onemda at gmail.com
Thu Aug 22 11:23:40 EEST 2019


On Thu, Aug 22, 2019 at 10:16 AM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Thu, Aug 22, 2019 at 10:09:30AM +0200, Paul B Mahol wrote:
> > Why not fix issues listed in decoder code instead of this hack?
>
> I can improve the VLC reader and will probably look into that
> but i dont think that will provide the factor of 2000 speedup needed
> to avoid the adjustment. It might reduce the factor needed though.
>
>
Also all this old game codecs never used very high resolutions.
Max something vga, but not even that.


> thx
>
>
> [...]
>
> > > +        // Unoptimized VLC reading and allows a small input to
> generate
> > > gigantic output
> > > +    case AV_CODEC_ID_IDCIN:     maxpixels /= 2048; break;
> [...]
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Take away the freedom of one citizen and you will be jailed, take away
> the freedom of all citizens and you will be congratulated by your peers
> in Parliament.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list