projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06afd6
)
lowres slice fix
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 26 Sep 2004 21:28:31 +0000
(21:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 26 Sep 2004 21:28:31 +0000
(21:28 +0000)
Originally committed as revision 3516 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
ca1d6fd
..
1b6aeb8
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-3702,7
+3702,7
@@
void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
if(s->first_field && !(s->avctx->slice_flags&SLICE_FLAG_ALLOW_FIELD)) return;
}
- h= FFMIN(h,
s->height
- y);
+ h= FFMIN(h,
(s->height>>s->avctx->lowres)
- y);
if(s->pict_type==B_TYPE || s->low_delay || (s->avctx->slice_flags&SLICE_FLAG_CODED_ORDER))
src= (AVFrame*)s->current_picture_ptr;