diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-01-19 16:10:13 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-01-25 12:28:36 +0100 |
commit | abe655a4723290497fd727df61fab2840d84b643 (patch) | |
tree | 101f86f2486fc9458ce36f614cff0b2909087092 /avplay.c | |
parent | 33ec9ef96d4220c4c846a5d3f2e95ba528b8bb16 (diff) | |
download | ffmpeg-abe655a4723290497fd727df61fab2840d84b643.tar.gz |
Drop unnecessary prefix from *sink* variable and struct names.
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |