From ebc51331a8363411e724287fe42ce7343bd28c42 Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Mon, 26 May 2003 21:40:58 +0000 Subject: set pix_fmt in rv10 patch by (James Stembridge ) Originally committed as revision 1909 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv10.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec') diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 8244cb5..4b351ea 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -387,6 +387,8 @@ static int rv10_decode_init(AVCodecContext *avctx) rv_chrom_code, 2, 2); done = 1; } + + avctx->pix_fmt = PIX_FMT_YUV420P; return 0; } -- cgit v1.1