aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4videodec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-26 14:45:14 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-29 17:35:57 +0100
commit2992afda83a7d5c0a9ec45bdce76d8abbe0961c5 (patch)
tree59280483eafa101ac90aee38378240438e760951 /libavcodec/mpeg4videodec.c
parent3b1c0f686d5a162ceb5048910a7ce0bf7ed3a1ab (diff)
downloadffmpeg-2992afda83a7d5c0a9ec45bdce76d8abbe0961c5.tar.gz
mpeg4videodec: remove a write-only variable from MpegEncContext
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r--libavcodec/mpeg4videodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index b1bcd38e07..32ffbb8700 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);