diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-10-26 18:29:02 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-10-26 18:29:02 +0200 |
commit | f2c867051c8fb2eb06c1b43a4b08d60a1eafd987 (patch) | |
tree | 1c1bcbf4e77b761001c85afc9dd9e19c4b979836 /libavcodec/avcodec.h | |
parent | a07ac9302335c1f12dcfb7d4ef57689f25c8e2c4 (diff) | |
download | ffmpeg-f2c867051c8fb2eb06c1b43a4b08d60a1eafd987.tar.gz |
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
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5f13f865e4..ee7834c8a2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5484,7 +5484,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 /** |