cosmetics: Rename ffsink to avsink.
This commit is contained in:
6
avplay.c
6
avplay.c
@@ -1707,7 +1707,7 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
|
||||
{
|
||||
char sws_flags_str[128];
|
||||
int ret;
|
||||
FFSinkContext ffsink_ctx = { .pix_fmt = PIX_FMT_YUV420P };
|
||||
AVSinkContext avsink_ctx = { .pix_fmt = PIX_FMT_YUV420P };
|
||||
AVFilterContext *filt_src = NULL, *filt_out = NULL;
|
||||
snprintf(sws_flags_str, sizeof(sws_flags_str), "flags=%d", sws_flags);
|
||||
graph->scale_sws_opts = av_strdup(sws_flags_str);
|
||||
@@ -1715,8 +1715,8 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
|
||||
if ((ret = avfilter_graph_create_filter(&filt_src, &input_filter, "src",
|
||||
NULL, is, graph)) < 0)
|
||||
return ret;
|
||||
if ((ret = avfilter_graph_create_filter(&filt_out, &ffsink, "out",
|
||||
NULL, &ffsink_ctx, graph)) < 0)
|
||||
if ((ret = avfilter_graph_create_filter(&filt_out, &avsink, "out",
|
||||
NULL, &avsink_ctx, graph)) < 0)
|
||||
return ret;
|
||||
|
||||
if (vfilters) {
|
||||
|
||||
Reference in New Issue
Block a user