[FFmpeg-cvslog] r11327 - trunk/libavcodec/mpegvideo_enc.c

michael subversion
Thu Dec 27 04:03:45 CET 2007


Author: michael
Date: Thu Dec 27 04:03:45 2007
New Revision: 11327

Log:
Fix encoding wmv1 with -mbd 1.
fixes issue262


Modified:
   trunk/libavcodec/mpegvideo_enc.c

Modified: trunk/libavcodec/mpegvideo_enc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_enc.c	(original)
+++ trunk/libavcodec/mpegvideo_enc.c	Thu Dec 27 04:03:45 2007
@@ -1769,6 +1769,8 @@ static inline void copy_context_before_e
     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_en
         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,




More information about the ffmpeg-cvslog mailing list