From abe655a4723290497fd727df61fab2840d84b643 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 19 Jan 2012 16:10:13 +0100 Subject: Drop unnecessary prefix from *sink* variable and struct names. --- avplay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'avplay.c') diff --git a/avplay.c b/avplay.c index 27ac01ae33..19e2bdcc18 100644 --- a/avplay.c +++ b/avplay.c @@ -1706,7 +1706,7 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c { char sws_flags_str[128]; int ret; - AVSinkContext avsink_ctx = { .pix_fmt = PIX_FMT_YUV420P }; + SinkContext sink_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); @@ -1714,8 +1714,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, &avsink, "out", - NULL, &avsink_ctx, graph)) < 0) + if ((ret = avfilter_graph_create_filter(&filt_out, &sink, "out", + NULL, &sink_ctx, graph)) < 0) return ret; if (vfilters) { -- cgit v1.2.3