[x264-devel] [BUG] Out of range runtime error in x264_weights_analyze method

Sasi Inguva isasi at google.com
Fri Jul 20 19:19:56 CEST 2018


This works. Thanks a lot. Do you plan to submit these two patches as is, to
x264 master in near future? (Asking because, we need to apply these patches
locally to our x264, and we would like to be as close to x264 head as
possible)

On Thu, Jul 19, 2018 at 10:40 PM BugMaster <BugMaster at narod.ru> wrote:

> On Thu, 19 Jul 2018 19:25:57 -0700, Sasi Inguva wrote:
> > Hi,
>
>
> > We found a test file where x264 encoder crashes with runtime error like
> this
> >  ./x264 --input-res 1024x640   -o ./tmp.x264  ./concat_bug_video.yuv
>
> > yuv [info]: 1024x640p 0:0 @ 25/1 fps (cfr)
> > x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
> > x264 [info]: profile High, level 3.1
> > encoder/slicetype.c:407:97: runtime error: value inf is outside the
> > range of representable values of type 'int'
>
> > This is our compilation configuration -make clean && ./configure
> > --enable-pic --enable-static
> >
> --extra-cflags="-fsanitize=return,returns-nonnull-attribute,vla-bound,unreachable,float-cast-overflow
> > -fno-sanitize-recover=all"
> >
> --extra-ldflags="-fsanitize=return,returns-nonnull-attribute,vla-bound,unreachable,float-cast-overflow
> > -fno-sanitize-recover=all" && make -j12
>
>
>
> > Here is the public downloadable link for the test file
> >
> https://drive.google.com/file/d/1eul4YshXV_H0ZsRciqNBOeM5eFXbhnf5/view?usp=sharing
>
>
>
> > Let me know if anymore information is needed.  Thanks
>
> Hi. Try with attached patch._______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20180720/304f4cc9/attachment.html>


More information about the x264-devel mailing list