From b9fcea41c8ccafb1433e9d3b9282e8ad94456c39 Mon Sep 17 00:00:00 2001
From: CaiYuHan <240947104@qq.com>
Date: Wed, 15 Sep 2021 10:04:12 +0800
Subject: [PATCH] libavcodec/h264dec.h:Add SVC decoding function based on
 Temporal scalability for H.264/AVC

Signed-off-by: CaiYuHan <240947104@qq.com>
---
 libavcodec/h264dec.h | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
 mode change 100644 => 100755 libavcodec/h264dec.h

diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
old mode 100644
new mode 100755
index 87c4e4e..a9d14e9
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -597,6 +597,13 @@ int ff_h264_execute_ref_pic_marking(H264Context *h);
 
 int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb,
                                    const H2645NAL *nal, void *logctx);
+/**
+ *Add SVC decoding function based on Temporal scalability for H.264/AVC
+*/								   
+#if SVC_DEC_H264
+int ff_h264_decode_ref_base_pic_marking(H264SliceContext *sl, GetBitContext *gb,
+                                   const H2645NAL *nal, void *logctx);
+#endif
 
 void ff_h264_hl_decode_mb(const H264Context *h, H264SliceContext *sl);
 void ff_h264_decode_init_vlc(void);
@@ -859,7 +866,7 @@ void ff_h264_draw_horiz_band(const H264Context *h, H264SliceContext *sl, int y,
  * Parse the slice header, starting a new field/frame if necessary. If any
  * slices are queued for the previous field, they are decoded.
  */
-int ff_h264_queue_decode_slice(H264Context *h, const H2645NAL *nal);
+int ff_h264_queue_decode_slice(H264Context *h, /*const*/ H2645NAL *nal);
 int ff_h264_execute_decode_slices(H264Context *h);
 int ff_h264_update_thread_context(AVCodecContext *dst,
                                   const AVCodecContext *src);
-- 
2.29.2

