aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-15 20:47:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-15 20:47:09 +0000
commit1c6dcb0f420c747b263d5c17641ae9c216c2e9de (patch)
tree256457d99ff8daa9150643f35c25880d42681992 /libavcodec/h263.c
parentd518aebdee8bb5068f43e4fef783dc63ced1679c (diff)
downloadffmpeg-1c6dcb0f420c747b263d5c17641ae9c216c2e9de.tar.gz
cleaner & more flexible edge bug workaround
Originally committed as revision 1685 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index f07602e165..2baed96a8d 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -4814,7 +4814,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
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;
}