From bdb2ad2bc45465675e9fff7313ae5f1b062ec3e1 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Date: Sat, 21 Oct 2017 20:55:01 +0200
Subject: [PATCH] lavc/avcodec: Constify the return value of
av_bitstream_filter_next().
Fixes the following gcc warning:
libavcodec/bitstream_filter.c:39:12: warning: return discards 'const' qualifier from pointer target type
---
libavcodec/avcodec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -6074,7 +6074,7 @@ void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
* filters.
*/
attribute_deprecated
-AVBitStreamFilter *av_bitstream_filter_next(const AVBitStreamFilter *f);
+const AVBitStreamFilter *av_bitstream_filter_next(const AVBitStreamFilter *f);
#endif
/**
--
1.7.10.4