diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index b1bcd38e07143e4f3eec34dd41de198e24766e54..32ffbb87007dd9bab46ee41f873e6c912270cdc0 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -1962,7 +1962,7 @@ no_cplx_est:
             int v_sampling_factor_n;
             int v_sampling_factor_m;
 
-            s->hierachy_type = get_bits1(gb);
+            skip_bits1(gb);    // hierarchy_type
             skip_bits(gb, 4);  /* ref_layer_id */
             skip_bits1(gb);    /* ref_layer_sampling_dir */
             h_sampling_factor_n = get_bits(gb, 5);
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 8dbded98dfeff9ec22991f724f1f0212533bcf2b..97a3a725626df518e9ee5f03d4673e5db8bf7f3d 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -590,7 +590,6 @@ typedef struct MpegEncContext {
     int quant_precision;
     int quarter_sample;              ///< 1->qpel, 0->half pel ME/MC
     int scalability;
-    int hierachy_type;
     int enhancement_type;
     int aspect_ratio_info; //FIXME remove
     int sprite_warping_accuracy;