diff options
author | Lynne <dev@lynne.ee> | 2022-12-07 06:42:44 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-05-29 00:41:31 +0200 |
commit | d0b02c3affad7eba83f0eba91310e2216cf02e2b (patch) | |
tree | b73393105cbb11d2f5b52c65a33613478478e797 /libavcodec/hevc_ps.c | |
parent | 3bc866159ce105ab1ec35b702d92fda26fefe7df (diff) | |
download | ffmpeg-d0b02c3affad7eba83f0eba91310e2216cf02e2b.tar.gz |
hevc_ps: expose vps_id
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r-- | libavcodec/hevc_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 73f90b4831..581c9293ab 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -464,7 +464,7 @@ int ff_hevc_decode_nal_vps(GetBitContext *gb, AVCodecContext *avctx, } memcpy(vps->data, gb->buffer, vps->data_size); - vps_id = get_bits(gb, 4); + vps_id = vps->vps_id = get_bits(gb, 4); if (get_bits(gb, 2) != 3) { // vps_reserved_three_2bits av_log(avctx, AV_LOG_ERROR, "vps_reserved_three_2bits is not three\n"); |