<div dir="ltr"><div>Hi,</div><div><br></div><div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">We found a test file where x264 encoder crashes with runtime error like this</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"> ./x264 --input-res 1024x640   -o ./tmp.x264  ./concat_bug_video.yuv<br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><div>yuv [info]: 1024x640p 0:0 @ 25/1 fps (cfr)</div><div>x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX</div><div>x264 [info]: profile High, level 3.1</div><div>encoder/slicetype.c:407:97: runtime error: value inf is outside the range of representable values of type 'int'</div></div><br></div><div>This is our compilation configuration -</div>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<br><div><br></div><div>Here is the public downloadable link for the test file</div><div><a href="https://drive.google.com/file/d/1eul4YshXV_H0ZsRciqNBOeM5eFXbhnf5/view?usp=sharing">https://drive.google.com/file/d/1eul4YshXV_H0ZsRciqNBOeM5eFXbhnf5/view?usp=sharing</a> <br></div><div><br></div><div>Let me know if anymore information is needed.  Thanks</div></div>