diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-20 11:20:33 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-21 12:18:44 +0300 |
commit | b13fc1e344011949929975a3451f78f226aa1de3 (patch) | |
tree | e4040a77e03c324306a29d73a11b018d601c0ffd /libavcodec/h264dec.h | |
parent | 996f13413b0415097e2a184d161462ffb3ceb647 (diff) |
h264: do not pass H264Context to h264_slice_header_parse()
This should make it more clear that this function does not need any
decoder-global state other than the parameter sets.
Diffstat (limited to 'libavcodec/h264dec.h')
-rw-r--r-- | libavcodec/h264dec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index fbe68c1dc3..e422871a62 100644 --- a/libavcodec/h264dec.h +++ b/libavcodec/h264dec.h @@ -528,7 +528,7 @@ int ff_h264_get_slice_type(const H264SliceContext *sl); */ int ff_h264_alloc_tables(H264Context *h); -int ff_h264_decode_ref_pic_list_reordering(const H264Context *h, H264SliceContext *sl); +int ff_h264_decode_ref_pic_list_reordering(H264SliceContext *sl, void *logctx); int ff_h264_build_ref_list(const H264Context *h, H264SliceContext *sl); void ff_h264_remove_all_refs(H264Context *h); @@ -537,8 +537,8 @@ void ff_h264_remove_all_refs(H264Context *h); */ int ff_h264_execute_ref_pic_marking(H264Context *h); -int ff_h264_decode_ref_pic_marking(const H264Context *h, H264SliceContext *sl, - GetBitContext *gb); +int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb, + const H2645NAL *nal, void *logctx); void ff_h264_hl_decode_mb(const H264Context *h, H264SliceContext *sl); int ff_h264_decode_init(AVCodecContext *avctx); |