diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-04-08 21:03:35 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-04-08 21:03:35 +0000 |
commit | bc657ac31dfd2458d52736e36af03615d8c1664b (patch) | |
tree | 4e1751851c8c1820236d521694377fe1cdecccd8 /libavcodec/mpegvideo.c | |
parent | 4606ac8dee9985bae07fcd0c0e04d6e2c63d6dc5 (diff) | |
download | ffmpeg-bc657ac31dfd2458d52736e36af03615d8c1664b.tar.gz |
* using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 417c63ea63..778ef76470 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -286,6 +286,8 @@ int MPV_encode_init(AVCodecContext *avctx) 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; |