summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-05 20:03:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-05 20:03:15 +0000
commit640950c700ce17fb6e3a135c5717f35c9c8d48ea (patch)
treeb9a8fd9e7ef43e8749860f63b8d83dffda1831f4 /libavcodec/h263dec.c
parent1d98dca328c437625b2d33cd2cf46af2671421b3 (diff)
mpeg2 field pictures + sliced mode (doesnt work with mplayer though, dunno why)
Originally committed as revision 1626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 3fd7fb3ab6..e1ee79a166 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -213,7 +213,7 @@ static int decode_slice(MpegEncContext *s){
if(++s->mb_x >= s->mb_width){
s->mb_x=0;
- ff_draw_horiz_band(s);
+ ff_draw_horiz_band(s, s->mb_y*16, 16);
s->mb_y++;
}
return 0;
@@ -230,7 +230,7 @@ static int decode_slice(MpegEncContext *s){
}
}
- ff_draw_horiz_band(s);
+ ff_draw_horiz_band(s, s->mb_y*16, 16);
s->mb_x= 0;
}