Commit 9e6b269f authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavc/avcodec: Constify AVBitStreamFilter* in AVBitStreamFilterContext struct.

Fixes a gcc warning:
libavcodec/bitstream_filter.c:71:20: warning: assignment discards 'const' qualifier from pointer target type
parent 95a72aed
...@@ -5764,7 +5764,7 @@ int av_get_audio_frame_duration2(AVCodecParameters *par, int frame_bytes); ...@@ -5764,7 +5764,7 @@ int av_get_audio_frame_duration2(AVCodecParameters *par, int frame_bytes);
#if FF_API_OLD_BSF #if FF_API_OLD_BSF
typedef struct AVBitStreamFilterContext { typedef struct AVBitStreamFilterContext {
void *priv_data; void *priv_data;
struct AVBitStreamFilter *filter; const struct AVBitStreamFilter *filter;
AVCodecParserContext *parser; AVCodecParserContext *parser;
struct AVBitStreamFilterContext *next; struct AVBitStreamFilterContext *next;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment