# HG changeset patch # User michael # Date 1243119575 0 # Node ID d3b8845e7f55174960035e9adb0afba1ac3924ae # Parent f1f5e78cf0aadfd9d3e97f43aa528421e7681403 Fix lowres with rv20. Fixes issue1102. diff -r f1f5e78cf0aa -r d3b8845e7f55 rv10.c --- 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);