[Ffmpeg-devel] h.264 decoder segfault

Michael Niedermayer michaelni
Wed Jan 24 00:57:55 CET 2007


Hi

On Wed, Jan 24, 2007 at 12:45:21AM +0100, Diego Biurrun wrote:
> 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.

especially after the ones which contain static inline functions with asm ;)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070124/1dd10126/attachment.pgp>



More information about the ffmpeg-devel mailing list