Mercurial > libavcodec.hg
changeset 9696:d3b8845e7f55 libavcodec
Fix lowres with rv20.
Fixes issue1102.
author | michael |
---|---|
date | Sat, 23 May 2009 22:59:35 +0000 |
parents | f1f5e78cf0aa |
children | 99c39bb5c525 |
files | rv10.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rv10.c Sat May 23 19:37:01 2009 +0000 +++ b/rv10.c Sat May 23 22:59:35 2009 +0000 @@ -510,6 +510,7 @@ // s->obmc=1; // s->umvplus=1; s->modified_quant=1; + if(!s->avctx->lowres) s->loop_filter=1; if(s->avctx->debug & FF_DEBUG_PICT_INFO){ @@ -538,8 +539,8 @@ s->out_format = FMT_H263; s->codec_id= avctx->codec_id; - s->width = avctx->width; - s->height = avctx->height; + s->width = avctx->coded_width; + s->height = avctx->coded_height; s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1; avctx->sub_id= AV_RB32((uint8_t*)avctx->extradata + 4);