[Ffmpeg-devel] h.264 decoder segfault

Diego Biurrun diego
Wed Jan 24 00:45:21 CET 2007


On Tue, Jan 23, 2007 at 07:47:42PM +0100, Benoit Fouet wrote:
> Reimar D?ffinger wrote:
> >> --- libavcodec/h264.c   (revision 7661)
> >> +++ libavcodec/h264.c   (working copy)
> >> @@ -26,6 +26,8 @@
> >>
> >> +#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"...
> >   
> due to my lack of knowledge on ffmpeg, i put them at the very beginning
> of the file :)
> what should have i done to do it properly ?

Put them after all includes.

Diego





More information about the ffmpeg-devel mailing list