changeset 506:b9ed0ae72d51 libavcodec

init dc_scale tables to defaults (fixes mjpeg sig11)
author michaelni
date Tue, 25 Jun 2002 10:15:42 +0000
parents 7a976bf93394
children b5b91e89b88c
files mpegvideo.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Mon Jun 24 22:22:39 2002 +0000
+++ b/mpegvideo.c	Tue Jun 25 10:15:42 2002 +0000
@@ -495,7 +495,9 @@
     }
     s->mv_penalty= default_mv_penalty;
     s->fcode_tab= default_fcode_tab;
-
+    s->y_dc_scale_table=
+    s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
+ 
     if (s->out_format == FMT_H263)
         h263_encode_init(s);
     else if (s->out_format == FMT_MPEG1)