changeset 2832:89b92f0800ab libavcodec

set pix_fmt
author michael
date Sat, 13 Aug 2005 21:34:24 +0000
parents ad9d121cc6e9
children 1f117208d20f
files mdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mdec.c	Sat Aug 13 20:48:47 2005 +0000
+++ b/mdec.c	Sat Aug 13 21:34:24 2005 +0000
@@ -239,6 +239,7 @@
 */
     p->qstride= a->mb_width;
     p->qscale_table= av_mallocz( p->qstride * a->mb_height);
+    avctx->pix_fmt= PIX_FMT_YUV420P;
 
     return 0;
 }