summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_ps.c
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2013-12-10 15:37:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-10 16:20:48 +0100
commit679a6377e4948bce6e2cb28cf7ced4b1738e906e (patch)
tree4fc0206f5fe0180c16ef0c8bfc098fc672403e58 /libavcodec/hevc_ps.c
parent6026a5ad4f135476c7a1f51f8cfa7f4cc2ca0283 (diff)
downloadffmpeg-679a6377e4948bce6e2cb28cf7ced4b1738e906e.tar.gz
hevc: avoid some unnecessary differences with libav
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r--libavcodec/hevc_ps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 16eeab40cd..988a53948e 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -412,8 +412,7 @@ int ff_hevc_decode_nal_vps(HEVCContext *s)
decode_hrd(s, common_inf_present, vps->vps_max_sub_layers);
}
}
-
- vps->vps_extension_flag = get_bits1(gb);
+ get_bits1(gb); /* vps_extension_flag */
av_buffer_unref(&s->vps_list[vps_id]);
s->vps_list[vps_id] = vps_buf;
@@ -1183,7 +1182,7 @@ int ff_hevc_decode_nal_pps(HEVCContext *s)
}
pps->slice_header_extension_present_flag = get_bits1(gb);
- pps->pps_extension_flag = get_bits1(gb);
+ skip_bits1(gb); // pps_extension_flag
// Inferred parameters
pps->col_bd = av_malloc_array(pps->num_tile_columns + 1, sizeof(*pps->col_bd));