diff h263.c @ 1137:7fb0b38ab5a3 libavcodec

cleaner & more flexible edge bug workaround
author michaelni
date Sat, 15 Mar 2003 20:47:09 +0000
parents 47558360835e
children 21c85c4ab2f0
line wrap: on
line diff
--- a/h263.c	Sat Mar 15 02:06:09 2003 +0000
+++ b/h263.c	Sat Mar 15 20:47:09 2003 +0000
@@ -4814,7 +4814,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->divx_version==0 || s->divx_version < 500){
+     if(!(s->workaround_bugs&FF_BUG_EDGE)){
          s->h_edge_pos= s->width;
          s->v_edge_pos= s->height;
      }