aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-08-03 00:36:09 -0300
committerJames Almer <jamrial@gmail.com>2016-08-03 00:36:09 -0300
commit613c86299ffe43fba81053845665d4b23f53d690 (patch)
tree6a79af2f2925b15bd67baaa761b7c62a1054bd56
parente1be80aa11cca765881d04f21119487db53c4ffa (diff)
downloadffmpeg-613c86299ffe43fba81053845665d4b23f53d690.tar.gz
avcodec/h264dec: move ff_h264_ps_uninit prototype to h264_ps.h
It's the proper place since 8c7932884d09bc580036640453fd6b7ad4dd77b4 Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/h264_ps.h5
-rw-r--r--libavcodec/h264dec.h6
2 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/h264_ps.h b/libavcodec/h264_ps.h
index ecf3a58ed8..9b9e295c83 100644
--- a/libavcodec/h264_ps.h
+++ b/libavcodec/h264_ps.h
@@ -156,4 +156,9 @@ int ff_h264_decode_seq_parameter_set(GetBitContext *gb, AVCodecContext *avctx,
int ff_h264_decode_picture_parameter_set(GetBitContext *gb, AVCodecContext *avctx,
H264ParamSets *ps, int bit_length);
+/**
+ * Uninit H264 param sets structure.
+ */
+void ff_h264_ps_uninit(H264ParamSets *ps);
+
#endif /* AVCODEC_H264_PS_H */
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
index a73a9dd0b9..7634261d41 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -564,12 +564,6 @@ typedef struct H264Context {
extern const uint16_t ff_h264_mb_sizes[4];
/**
- * Uninit H264 param sets structure.
- */
-
-void ff_h264_ps_uninit(H264ParamSets *ps);
-
-/**
* Reconstruct bitstream slice_type.
*/
int ff_h264_get_slice_type(const H264SliceContext *sl);