summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_drawtext.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-26 23:27:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-26 23:57:07 +0200
commit052f4f859cfee9bb86ea3ccb0c56ea11d050ef17 (patch)
tree118f522d94de18bcf855c526026d6c18cf5c6b3d /libavfilter/vf_drawtext.c
parent37b5959d9689f5310640c7a0beaa7784c58bfa6f (diff)
parenta5e8c41c28f907d98d2a739db08f7aef4cbfcf3a (diff)
downloadffmpeg-streaming-052f4f859cfee9bb86ea3ccb0c56ea11d050ef17.zip
ffmpeg-streaming-052f4f859cfee9bb86ea3ccb0c56ea11d050ef17.tar.gz
Merge commit 'a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a'
* commit 'a5e8c41c28f907d98d2a739db08f7aef4cbfcf3a': lavfi: remove 'opaque' parameter from AVFilter.init() mov: do not try to read total disc/track number if data atom is too short. avconv: fix -force_key_frames dxva2_h264: fix signaling of mbaff frames x86: fft: elf64: fix PIC build Conflicts: ffmpeg.c libavcodec/v210dec.h libavfilter/asrc_anullsrc.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_overlay.c libavfilter/vsrc_color.c libavfilter/vsrc_testsrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r--libavfilter/vf_drawtext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index e5ba32e..dbdcd39 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -379,7 +379,7 @@ static int load_font(AVFilterContext *ctx)
return err;
}
-static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
+static av_cold int init(AVFilterContext *ctx, const char *args)
{
int err;
DrawTextContext *dtext = ctx->priv;
@@ -574,7 +574,7 @@ static int command(AVFilterContext *ctx, const char *cmd, const char *arg, char
int ret;
uninit(ctx);
dtext->reinit = 1;
- if ((ret = init(ctx, arg, NULL)) < 0)
+ if ((ret = init(ctx, arg)) < 0)
return ret;
return config_input(ctx->inputs[0]);
}
OpenPOWER on IntegriCloud