On Tue, Aug 18, 2009 at 10:19:20PM +0100, Edd Barrett wrote:
> On Mon, Aug 17, 2009 at 08:38:46AM +0100, Edd Barrett wrote:
> > Can you try (on amd64):
> > cat <some_music_file> | mplayer -
> > 
> > Does this crash?
> 
> Attached is a newer diff with the Xsync() diff in (thanks Aaron).

Diff to disable this warning:

Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.


$OpenBSD$
--- libavcodec/mpegvideo_enc.c.orig     Sat Aug 15 20:54:06 2009
+++ libavcodec/mpegvideo_enc.c  Sat Aug 15 20:54:15 2009
@@ -1927,7 +1927,7 @@ static int pre_estimate_motion_thread(AVCodecContext *
 static int estimate_motion_thread(AVCodecContext *c, void *arg){
     MpegEncContext *s= *(void**)arg;
 
-    ff_check_alignment();
+    /*ff_check_alignment();*/
 
     s->me.dia_size= s->avctx->dia_size;
     s->first_slice_line=1;



$OpenBSD$
--- libavcodec/dsputil.c.orig   Sat Aug 15 20:54:24 2009
+++ libavcodec/dsputil.c        Sat Aug 15 20:54:43 2009
@@ -4320,7 +4320,7 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx
 {
     int i;
 
-    ff_check_alignment();
+    /*ff_check_alignment();*/
 
 #if CONFIG_ENCODERS
     if(avctx->dct_algo==FF_DCT_FASTINT) {

Reply via email to