Merge commit '2c6a7f9348378f887066fb1669c46b9485e8ef3e'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 17 Nov 2014 10:20:32 +0000 (11:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 17 Nov 2014 10:20:32 +0000 (11:20 +0100)
* commit '2c6a7f9348378f887066fb1669c46b9485e8ef3e':
  hevc: do not store rqt_root_cbf in the context

Conflicts:
libavcodec/hevc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
libavcodec/hevc.c
libavcodec/hevc.h

@@@ -2069,12 -2162,13 +2068,14 @@@ static int hls_coding_unit(HEVCContext 
          }
  
          if (!pcm_flag) {
+             int rqt_root_cbf = 1;
              if (lc->cu.pred_mode != MODE_INTRA &&
                  !(lc->cu.part_mode == PART_2Nx2N && lc->pu.merge_flag)) {
-                 lc->cu.rqt_root_cbf = ff_hevc_no_residual_syntax_flag_decode(s);
+                 rqt_root_cbf = ff_hevc_no_residual_syntax_flag_decode(s);
              }
-             if (lc->cu.rqt_root_cbf) {
+             if (rqt_root_cbf) {
 +                const static int cbf[2] = { 0 };
                  lc->cu.max_trafo_depth = lc->cu.pred_mode == MODE_INTRA ?
                                           s->sps->max_transform_hierarchy_depth_intra + lc->cu.intra_split_flag :
                                           s->sps->max_transform_hierarchy_depth_inter;
Simple merge