[Ffmpeg-devel] h.264 decoder segfault

Benoit Fouet benoit.fouet
Tue Jan 23 19:47:42 CET 2007


Reimar D?ffinger wrote:
>> 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"...
>   
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 ?

Ben





More information about the ffmpeg-devel mailing list