[MPlayer-dev-eng] [PATCH] segfault when playing mjpegs
Wojtek Kaniewski
wojtekka at bydg.pdi.net
Tue May 20 22:43:25 CEST 2003
On Tue, 20 May 2003, D Richard Felker III wrote:
> Why does this code even exist? vd_ffmpeg should just output 422p and
> force vf_scale to get loaded. That will improve and/or simplify the DR
> situation too.
disabling this code seems easy enough even for me (; attached patch
fixes it.
regards,
wojtek
-------------- next part --------------
--- vd_ffmpeg.c.orig Tue May 20 22:37:26 2003
+++ vd_ffmpeg.c Tue May 20 22:34:24 2003
@@ -120,13 +120,13 @@
if(avctx->pix_fmt==PIX_FMT_YUV420P) return CONTROL_TRUE;// u/v swap
if(avctx->pix_fmt==PIX_FMT_YUV422P) return CONTROL_TRUE;// half stride
break;
-#if 1
+#if 0
case IMGFMT_YUY2:
// converted using yuv422ptoyuy2()
if(avctx->pix_fmt==PIX_FMT_YUV422P) return CONTROL_TRUE;
break;
- }
#endif
+ }
return CONTROL_FALSE;
}
return CONTROL_UNKNOWN;
More information about the MPlayer-dev-eng
mailing list