mpeg4videodec: remove a write-only variable from MpegEncContext

pull/49/head
Anton Khirnov 11 years ago
parent 3b1c0f686d
commit 2992afda83
  1. 2
      libavcodec/mpeg4videodec.c
  2. 1
      libavcodec/mpegvideo.h

@ -1962,7 +1962,7 @@ no_cplx_est:
int v_sampling_factor_n; int v_sampling_factor_n;
int v_sampling_factor_m; int v_sampling_factor_m;
s->hierachy_type = get_bits1(gb); skip_bits1(gb); // hierarchy_type
skip_bits(gb, 4); /* ref_layer_id */ skip_bits(gb, 4); /* ref_layer_id */
skip_bits1(gb); /* ref_layer_sampling_dir */ skip_bits1(gb); /* ref_layer_sampling_dir */
h_sampling_factor_n = get_bits(gb, 5); h_sampling_factor_n = get_bits(gb, 5);

@ -590,7 +590,6 @@ typedef struct MpegEncContext {
int quant_precision; int quant_precision;
int quarter_sample; ///< 1->qpel, 0->half pel ME/MC int quarter_sample; ///< 1->qpel, 0->half pel ME/MC
int scalability; int scalability;
int hierachy_type;
int enhancement_type; int enhancement_type;
int aspect_ratio_info; //FIXME remove int aspect_ratio_info; //FIXME remove
int sprite_warping_accuracy; int sprite_warping_accuracy;

Loading…
Cancel
Save