Mercurial > libavcodec.hg
changeset 6074:036d93ae3095 libavcodec
Fix encoding wmv1 with -mbd 1.
fixes issue262
author | michael |
---|---|
date | Thu, 27 Dec 2007 03:03:45 +0000 |
parents | 60d30d88cf71 |
children | 4d43f2e3aaa5 |
files | mpegvideo_enc.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo_enc.c Wed Dec 26 22:17:46 2007 +0000 +++ b/mpegvideo_enc.c Thu Dec 27 03:03:45 2007 +0000 @@ -1769,6 +1769,8 @@ 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 @@ 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,