comparison 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
comparison
equal deleted inserted replaced
1136:9eb49e9e8dd9 1137:7fb0b38ab5a3
4812 s->picture_number++; // better than pic number==0 allways ;) 4812 s->picture_number++; // better than pic number==0 allways ;)
4813 4813
4814 s->y_dc_scale_table= ff_mpeg4_y_dc_scale_table; //FIXME add short header support 4814 s->y_dc_scale_table= ff_mpeg4_y_dc_scale_table; //FIXME add short header support
4815 s->c_dc_scale_table= ff_mpeg4_c_dc_scale_table; 4815 s->c_dc_scale_table= ff_mpeg4_c_dc_scale_table;
4816 4816
4817 if(s->divx_version==0 || s->divx_version < 500){ 4817 if(!(s->workaround_bugs&FF_BUG_EDGE)){
4818 s->h_edge_pos= s->width; 4818 s->h_edge_pos= s->width;
4819 s->v_edge_pos= s->height; 4819 s->v_edge_pos= s->height;
4820 } 4820 }
4821 return 0; 4821 return 0;
4822 } 4822 }