diff mpegvideo.c @ 315:40d8092e2ff0 libavcodec

* using pixtype as enum - by Philip Gladstone
author kabi
date Mon, 08 Apr 2002 21:03:35 +0000
parents 8cf5507e6ca5
children cda7d0857baf
line wrap: on
line diff
--- a/mpegvideo.c	Mon Apr 08 12:08:03 2002 +0000
+++ b/mpegvideo.c	Mon Apr 08 21:03:35 2002 +0000
@@ -286,6 +286,8 @@
     MpegEncContext *s = avctx->priv_data;
     int i;
 
+    avctx->pix_fmt = PIX_FMT_YUV420P;
+
     s->bit_rate = avctx->bit_rate;
     s->bit_rate_tolerance = avctx->bit_rate_tolerance;
     s->frame_rate = avctx->frame_rate;