diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 8244cb5dcf94cca7a22cf2be2a0aa6c0c96a46ba..4b351ea1eabf87e5f9bd557445e48381478869ac 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;
 }