From bde69af670009f1fa7ca6b350cce77b98768c9d5 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Sat, 21 Dec 2002 14:57:36 +0000 Subject: Fix padding (ugly red bar in 'fra-sen-1.avi', right of image) - video output problems are caused by deinterlace code, not ffmpeg CVS patchset: 3605 CVS date: 2002/12/21 14:57:36 --- src/libffmpeg/xine_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index d1899f424..733dc1aa6 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.81 2002/12/21 12:56:47 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.82 2002/12/21 14:57:36 esnel Exp $ * * xine decoder plugin using ffmpeg * @@ -122,7 +122,7 @@ static void init_video_codec (ff_video_decoder_t *this, xine_bmiheader *bih) { /* force (width % 8 == 0), otherwise there will be * display problems with Xv. */ - this->bih.biWidth = (this->bih.biWidth + 7) & (~7); + this->bih.biWidth = (this->bih.biWidth + 1) & (~1); this->av_picture = avcodec_alloc_picture(); this->context = avcodec_alloc_context(); -- cgit v1.2.3