[FFmpeg-devel] [PATCH 2/2] swscale/x86/yuv2yuvX: Process tails by jumping back into the main loop.

Michael Niedermayer michael at niedermayer.cc
Wed Sep 6 19:37:36 EEST 2023


On Wed, Sep 06, 2023 at 04:25:00PM +0200, Alan Kelly via ffmpeg-devel wrote:
> ---
>  libswscale/x86/swscale.c    | 19 ++++++++-----------
>  libswscale/x86/yuv2yuvX.asm | 24 ++++++++++++++++++------
>  2 files changed, 26 insertions(+), 17 deletions(-)

ffmpeg -i lena.pnm -vf scale=32:32,scale=4:4 -bitexact -y file4x4.jpg

  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: ppm, rgb24, 256x256, 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (ppm (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 0x55763d89b740] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x55763d8ab0c0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x55763d89b740] deprecated pixel format used, make sure you did set range correctly
Segmentation fault (core dumped)

tell me if you cannot reproduce then ill generate a proper backtrace

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
than the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230906/80bf5834/attachment.sig>


More information about the ffmpeg-devel mailing list