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 const is correct, assuming you would like to avoid the warning you'd have to have a separate ReadContext. lu _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel