# HG changeset patch # User attila # Date 1067856148 0 # Node ID 3761aff4722ec5df47f075e2ea88e6e0274753fe # Parent 9cd1546f26eac81420e689581129feb5606b42f5 If alex is too lazy to apply a patch, then i'll do it :) This one fixes a sig11 when the -vo can't be initialized and get_buffer fails for libavcodec diff -r 9cd1546f26ea -r 3761aff4722e libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Mon Nov 03 10:30:20 2003 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Mon Nov 03 10:42:28 2003 +0000 @@ -727,6 +727,9 @@ mpi->stride[1]=pic->linesize[1]; mpi->stride[2]=pic->linesize[2]; } + + if (!mpi->planes[0]) + return NULL; if(avctx->pix_fmt==PIX_FMT_YUV422P && mpi->chroma_y_shift==1){ // we have 422p but user wants 420p