Commit 3608147b authored by michael's avatar michael

Fix lowres with rv20.

Fixes issue1102.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18920 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent db1bbfae
...@@ -510,6 +510,7 @@ av_log(s->avctx, AV_LOG_DEBUG, "\n");*/ ...@@ -510,6 +510,7 @@ av_log(s->avctx, AV_LOG_DEBUG, "\n");*/
// s->obmc=1; // s->obmc=1;
// s->umvplus=1; // s->umvplus=1;
s->modified_quant=1; s->modified_quant=1;
if(!s->avctx->lowres)
s->loop_filter=1; s->loop_filter=1;
if(s->avctx->debug & FF_DEBUG_PICT_INFO){ if(s->avctx->debug & FF_DEBUG_PICT_INFO){
...@@ -538,8 +539,8 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) ...@@ -538,8 +539,8 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
s->out_format = FMT_H263; s->out_format = FMT_H263;
s->codec_id= avctx->codec_id; s->codec_id= avctx->codec_id;
s->width = avctx->width; s->width = avctx->coded_width;
s->height = avctx->height; s->height = avctx->coded_height;
s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1; s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1;
avctx->sub_id= AV_RB32((uint8_t*)avctx->extradata + 4); avctx->sub_id= AV_RB32((uint8_t*)avctx->extradata + 4);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment