Re: [libav-devel] [PATCH 1/2] rangecoder: Drop incorrect const from ff_init_range_decoder

2016-11-30 Thread Luca Barbato
On 30/11/2016 22:02, Diego Biurrun wrote: > libavcodec/rangecoder.c:57:30: warning: cast discards ‘const’ qualifier from > pointer target type [-Wcast-qual] > --- > libavcodec/rangecoder.c | 6 ++ > libavcodec/rangecoder.h | 2 +- > 2 files changed, 3 insertions(+), 5 deletions(-) > The

Re: [libav-devel] [PATCH 1/2] rangecoder: Drop incorrect const from ff_init_range_decoder

2016-11-30 Thread Anton Khirnov
Quoting Diego Biurrun (2016-11-30 22:02:36) > libavcodec/rangecoder.c:57:30: warning: cast discards ‘const’ qualifier from > pointer target type [-Wcast-qual] > --- > libavcodec/rangecoder.c | 6 ++ > libavcodec/rangecoder.h | 2 +- > 2 files changed, 3 insertions(+), 5 deletions(-) > >

[libav-devel] [PATCH 1/2] rangecoder: Drop incorrect const from ff_init_range_decoder

2016-11-30 Thread Diego Biurrun
libavcodec/rangecoder.c:57:30: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] --- libavcodec/rangecoder.c | 6 ++ libavcodec/rangecoder.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c