[FFmpeg-cvslog] avcodec/hevc: fix "discards const qualifier from pointer target type" warning

Michael Niedermayer git at videolan.org
Mon Jul 28 14:39:45 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul 28 14:34:47 2014 +0200| [243236a6f589fbf898e3015c15008776522c925a] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=243236a6f589fbf898e3015c15008776522c925a
---

 libavcodec/hevc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 592d897..06f73e7 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;
 



More information about the ffmpeg-cvslog mailing list