diff h263.c @ 1366:80067f8d6770 libavcodec

fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy) note, encoding wasnt affected by that
author michaelni
date Wed, 16 Jul 2003 18:12:14 +0000
parents 463090933f60
children da0b3a50d209
line wrap: on
line diff
--- a/h263.c	Wed Jul 16 11:48:59 2003 +0000
+++ b/h263.c	Wed Jul 16 18:12:14 2003 +0000
@@ -1900,8 +1900,6 @@
 
      s->y_dc_scale_table= ff_mpeg4_y_dc_scale_table; //FIXME add short header support 
      s->c_dc_scale_table= ff_mpeg4_c_dc_scale_table;
-     s->h_edge_pos= s->width;
-     s->v_edge_pos= s->height;
 }
 
 #endif //CONFIG_ENCODERS
@@ -4955,7 +4953,7 @@
      s->y_dc_scale_table= ff_mpeg4_y_dc_scale_table; //FIXME add short header support 
      s->c_dc_scale_table= ff_mpeg4_c_dc_scale_table;
 
-     if(!(s->workaround_bugs&FF_BUG_EDGE)){
+     if(s->workaround_bugs&FF_BUG_EDGE){
          s->h_edge_pos= s->width;
          s->v_edge_pos= s->height;
      }