avcodec/hevc: fix "discards const qualifier from pointer target type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/271/head
Michael Niedermayer 11 years ago
parent 772dfd5f6e
commit 243236a6f5
  1. 2
      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;

Loading…
Cancel
Save