diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-06-30 15:51:53 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-09 00:36:22 +0300 |
commit | fd124d8357b1becfde3ac8d5e3320127cf97a5b7 (patch) | |
tree | ec24d098b2505a67ce0d4309b27732c2ce1feef7 /libavcodec/hevc.c | |
parent | 0e7c0ec344f542e68e3cc9680e8d41dffeffdb4e (diff) |
hevc_ps: split the code for parsing the SPS and exporting it into the context
This will be useful in the later commits, where we want to parse an SPS
without having a whole decoding context.
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index f6a64093b9..97014391f2 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -594,7 +594,7 @@ static int hls_slice_header(HEVCContext *s) sh->short_term_ref_pic_set_sps_flag = get_bits1(gb); if (!sh->short_term_ref_pic_set_sps_flag) { int pos = get_bits_left(gb); - ret = ff_hevc_decode_short_term_rps(s, &sh->slice_rps, s->sps, 1); + ret = ff_hevc_decode_short_term_rps(gb, s->avctx, &sh->slice_rps, s->sps, 1); if (ret < 0) return ret; |