1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

doc/examples/filter_audio: const correctness

doc/examples/filter_audio.c:168:17: warning: assignment discards ‘const’ qualifier from pointer target type
This commit is contained in:
Diego Biurrun 2017-04-22 13:12:29 +02:00
parent 0fd0d4fd0a
commit f25609ff06

View File

@ -64,13 +64,13 @@ static int init_filter_graph(AVFilterGraph **graph, AVFilterContext **src,
{
AVFilterGraph *filter_graph;
AVFilterContext *abuffer_ctx;
AVFilter *abuffer;
const AVFilter *abuffer;
AVFilterContext *volume_ctx;
AVFilter *volume;
const AVFilter *volume;
AVFilterContext *aformat_ctx;
AVFilter *aformat;
const AVFilter *aformat;
AVFilterContext *abuffersink_ctx;
AVFilter *abuffersink;
const AVFilter *abuffersink;
AVDictionary *options_dict = NULL;
uint8_t options_str[1024];