]> granicus.if.org Git - libvpx/commitdiff
Fixed a subtle issue that breaks encoding process
authorJingning Han <jingning@google.com>
Fri, 15 Feb 2013 22:45:20 +0000 (14:45 -0800)
committerJingning Han <jingning@google.com>
Fri, 15 Feb 2013 22:49:30 +0000 (14:49 -0800)
This issue breaks the encoding process of the codebase. The effect
emerges only in particular test sequence at certain bit-rates and
frame limits.

Change-Id: I02e080f2a49624eef9a21c424053dc2a1d902452

vp9/encoder/vp9_rdopt.c

index 4a49728f67424478e7b14c87443243e35536afa8..1c4dd583492b7afc29faa66883068d83f2183b25 100644 (file)
@@ -4306,6 +4306,7 @@ void vp9_rd_pick_intra_mode(VP9_COMP *cpi, MACROBLOCK *x,
   mode8x8[2]= xd->mode_info_context->bmi[8].as_mode.first;
   mode8x8[3]= xd->mode_info_context->bmi[10].as_mode.first;
 
+  mbmi->txfm_size = TX_4X4;
   error4x4 = rd_pick_intra4x4mby_modes(cpi, x,
                                        &rate4x4, &rate4x4_tokenonly,
                                        &dist4x4, error16x16);