diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-16 18:12:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-16 18:12:14 +0000 |
commit | 6674a126967325fbbeb36fc9d1a0c57fc07d7012 (patch) | |
tree | 0c3ad1da6f00743c69b4e20338e69a210dae6ba3 /libavcodec/h263.c | |
parent | fa12b5469db087c5eb5652700fce4df8a94296dc (diff) | |
download | ffmpeg-6674a126967325fbbeb36fc9d1a0c57fc07d7012.tar.gz |
fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy)
note, encoding wasnt affected by that
Originally committed as revision 2052 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index ba28184f4c..b48c86648e 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -1900,8 +1900,6 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number) 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 @@ 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->workaround_bugs&FF_BUG_EDGE)){ + if(s->workaround_bugs&FF_BUG_EDGE){ s->h_edge_pos= s->width; s->v_edge_pos= s->height; } |