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. */