diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 592d897e3b..06f73e736a 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -276,7 +276,7 @@ static int decode_lt_rps(HEVCContext *s, LongTermRPS *rps, GetBitContext *gb) return 0; } -static int get_buffer_sao(HEVCContext *s, AVFrame *frame, HEVCSPS *sps) +static int get_buffer_sao(HEVCContext *s, AVFrame *frame, const HEVCSPS *sps) { int ret, i;