From 613c86299ffe43fba81053845665d4b23f53d690 Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 3 Aug 2016 00:36:09 -0300 Subject: [PATCH] avcodec/h264dec: move ff_h264_ps_uninit prototype to h264_ps.h It's the proper place since 8c7932884d09bc580036640453fd6b7ad4dd77b4 Signed-off-by: James Almer --- libavcodec/h264_ps.h | 5 +++++ libavcodec/h264dec.h | 6 ------ 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 @@ -563,12 +563,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. */