From 8105d72a34c89ab7505e0944151daee36150ed7f Mon Sep 17 00:00:00 2001 From: ddennedy Date: Thu, 9 Apr 2009 07:17:17 +0000 Subject: [PATCH] producer_avformat.c: bugfix building on some older versions. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1385 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/avformat/producer_avformat.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c index 7febf47..1ce2dca 100644 --- a/src/modules/avformat/producer_avformat.c +++ b/src/modules/avformat/producer_avformat.c @@ -634,8 +634,8 @@ static inline void convert_image( AVFrame *frame, uint8_t *buffer, int pix_fmt, else { AVPicture output; - avpicture_fill( &output, buffer, PIX_FMT_YUV422, width, height ); - img_convert( &output, PIX_FMT_YUV422, (AVPicture *)frame, pix_fmt, width, height ); + avpicture_fill( &output, buffer, PIX_FMT_YUYV422, width, height ); + img_convert( &output, PIX_FMT_YUYV422, (AVPicture *)frame, pix_fmt, width, height ); } #endif } -- 1.7.4.4