提交 9f175aa0 编写于 作者: M Michael Niedermayer

Fix encoding wmv1 with -mbd 1.

fixes issue262

Originally committed as revision 11327 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 a33cab3a
......@@ -1769,6 +1769,8 @@ static inline void copy_context_before_encode(MpegEncContext *d, MpegEncContext
d->mb_skipped= 0;
d->qscale= s->qscale;
d->dquant= s->dquant;
d->esc3_level_length= s->esc3_level_length;
}
static inline void copy_context_after_encode(MpegEncContext *d, MpegEncContext *s, int type){
......@@ -1806,6 +1808,8 @@ static inline void copy_context_after_encode(MpegEncContext *d, MpegEncContext *
d->block_last_index[i]= s->block_last_index[i];
d->interlaced_dct= s->interlaced_dct;
d->qscale= s->qscale;
d->esc3_level_length= s->esc3_level_length;
}
static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best, int type,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册