[FFmpeg-devel] [PATCH] dsputil: make selectable.

James Almer jamrial at gmail.com
Sun Mar 10 08:28:21 CET 2013


On 10/03/13 2:26 AM, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <rsbultje at gmail.com>
> 
> ---
>  configure                        | 78 ++++++++++++++++++++++++++--------------
>  libavcodec/Makefile              |  7 ++--
>  libavcodec/utils.c               |  3 +-
>  libavcodec/x86/Makefile          | 16 +++++----
>  libavcodec/x86/constants.c       | 39 ++++++++++++++++++++
>  libavcodec/x86/dsputil_mmx.c     | 22 ------------
>  libavcodec/x86/dsputil_mmx.h     |  7 ----
>  libavcodec/x86/h264_chromamc.asm |  2 +-
>  libavcodec/x86/h264_deblock.asm  |  2 +-
>  libavcodec/x86/vp8dsp.asm        | 13 ++++---
>  libavutil/x86/asm.h              |  2 ++
>  11 files changed, 115 insertions(+), 76 deletions(-)
>  create mode 100644 libavcodec/x86/constants.c

Applying this patch then building ffmpeg with --disable-everything --enable-decoder='h264,dca' 
--enable-demuxer=matroska --enable-protocol=file makes quite a few h264 matroska files crash 
with this gdb output:

Program received signal SIGSEGV, Segmentation fault.
0x005dcf60 in ff_deblock_v_luma_8_sse2 ()
(gdb) bt
#0  0x005dcf60 in ff_deblock_v_luma_8_sse2 ()
#1  0x00000000 in ?? ()

I can upload a sample that crashes like this if you need it.

Regards.


More information about the ffmpeg-devel mailing list