aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-18 23:00:12 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-19 00:19:43 +0100
commit45f2908d021e1831197b75efeed489b25ea11478 (patch)
tree0ce1f356f73a31e5255d03a889526536eed80ef2 /cmdutils.c
parent0184bbe2d1e9a77ebe04e61f84a967662b79d387 (diff)
downloadffmpeg-45f2908d021e1831197b75efeed489b25ea11478.tar.gz
cosmetics: Rename ffsink to avsink.
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/cmdutils.c b/cmdutils.c
index f2e3490286..a489a0f06e 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1031,34 +1031,34 @@ AVDictionary **setup_find_stream_info_opts(AVFormatContext *s,
#if CONFIG_AVFILTER
-static int ffsink_init(AVFilterContext *ctx, const char *args, void *opaque)
+static int avsink_init(AVFilterContext *ctx, const char *args, void *opaque)
{
- FFSinkContext *priv = ctx->priv;
+ AVSinkContext *priv = ctx->priv;
if (!opaque)
return AVERROR(EINVAL);
- *priv = *(FFSinkContext *)opaque;
+ *priv = *(AVSinkContext *)opaque;
return 0;
}
static void null_end_frame(AVFilterLink *inlink) { }
-static int ffsink_query_formats(AVFilterContext *ctx)
+static int avsink_query_formats(AVFilterContext *ctx)
{
- FFSinkContext *priv = ctx->priv;
+ AVSinkContext *priv = ctx->priv;
enum PixelFormat pix_fmts[] = { priv->pix_fmt, PIX_FMT_NONE };
avfilter_set_common_formats(ctx, avfilter_make_format_list(pix_fmts));
return 0;
}
-AVFilter ffsink = {
- .name = "ffsink",
- .priv_size = sizeof(FFSinkContext),
- .init = ffsink_init,
+AVFilter avsink = {
+ .name = "avsink",
+ .priv_size = sizeof(AVSinkContext),
+ .init = avsink_init,
- .query_formats = ffsink_query_formats,
+ .query_formats = avsink_query_formats,
.inputs = (AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,