summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2003-05-26 21:40:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-05-26 21:40:58 +0000
commitebc51331a8363411e724287fe42ce7343bd28c42 (patch)
tree8dfcd7eff00e651170a2b274a5ffbcff3c8670ee
parent5a634a69521ce53b1e6535ab0de5c1608b8060a8 (diff)
downloadffmpeg-streaming-ebc51331a8363411e724287fe42ce7343bd28c42.zip
ffmpeg-streaming-ebc51331a8363411e724287fe42ce7343bd28c42.tar.gz
set pix_fmt in rv10 patch by (James Stembridge <jstembridge at users dot sourceforge dot net>)
Originally committed as revision 1909 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/rv10.c2
1 files changed, 2 insertions, 0 deletions
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;
}
OpenPOWER on IntegriCloud