aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-09 04:19:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-09 04:50:00 +0200
commit1d4194e69696e615b5bbf7273103b05241dc75b8 (patch)
tree4684f6e817a8314e882fa6a73c89fa2e5f9f3798 /libavcodec/hevc.c
parentc11810166205bbf68f114414329e679b0d2d5268 (diff)
parentfd124d8357b1becfde3ac8d5e3320127cf97a5b7 (diff)
downloadffmpeg-1d4194e69696e615b5bbf7273103b05241dc75b8.tar.gz
Merge commit 'fd124d8357b1becfde3ac8d5e3320127cf97a5b7'
* commit 'fd124d8357b1becfde3ac8d5e3320127cf97a5b7': hevc_ps: split the code for parsing the SPS and exporting it into the context Conflicts: libavcodec/hevc.c libavcodec/hevc_ps.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 7eabc8db47..f7f0552498 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -521,7 +521,7 @@ static int hls_slice_header(HEVCContext *s)
sh->short_term_ref_pic_set_sps_flag = get_bits1(gb);
pos = get_bits_left(gb);
if (!sh->short_term_ref_pic_set_sps_flag) {
- 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;