[Ffmpeg-devel] h.264 decoder segfault

Reimar Döffinger Reimar.Doeffinger
Tue Jan 23 19:29:29 CET 2007


Hello,
On Tue, Jan 23, 2007 at 04:39:38PM +0100, Benoit Fouet wrote:
> Michael Niedermayer wrote:
> > could you try the above with a h264.c compiled with -O0 and if that
> > fails with #undef ARCH_X86 #undef HAVE_MMX ?
> >   
> ok, everything down there is from ffmpeg root repo.
> 
> here is my diff for h264.c:
> 
> Index: libavcodec/h264.c
> ===================================================================
> --- libavcodec/h264.c   (revision 7661)
> +++ libavcodec/h264.c   (working copy)
> @@ -26,6 +26,8 @@
>   * @author Michael Niedermayer <michaelni at gmx.at>
>   */
> 
> +#undef ARCH_X86
> +#undef HAVE_MMX
>  #include "common.h"
>  #include "dsputil.h"
>  #include "avcodec.h"

Um.. I don't think those #undefs have any point if they are before
#include "common.h"...

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list