Browse Source

Merge commit '77cc958f60f73963be4281d6e82ef81707e40c26'

* commit '77cc958f60f73963be4281d6e82ef81707e40c26':
  lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 11 years ago
parent
commit
46b3dbf9ca
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavfilter/avfilter.h
  2. +1
    -1
      libavfilter/avfiltergraph.c

+ 1
- 1
libavfilter/avfilter.h View File

@@ -1242,7 +1242,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
* @return a negative AVERROR error code in case of failure, a non
* negative value otherwise
*/
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt,
const char *name, const char *args, void *opaque,
AVFilterGraph *graph_ctx);



+ 1
- 1
libavfilter/avfiltergraph.c View File

@@ -148,7 +148,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
}
#endif

int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt,
const char *name, const char *args, void *opaque,
AVFilterGraph *graph_ctx)
{


Loading…
Cancel
Save