diff options
author | Josh de Kock <josh@itanimul.li> | 2017-02-11 23:23:24 +0000 |
---|---|---|
committer | Josh de Kock <josh@itanimul.li> | 2017-02-12 21:37:23 +0000 |
commit | 2dafbae9940a6fe79f78a94e4168107b66c67538 (patch) | |
tree | 94ab4f4be0d9fc9dc63ed5af65fc83d82c369134 /libavcodec | |
parent | 68b8be0811f86b58cae030f93519991997a5eb0c (diff) | |
download | ffmpeg-2dafbae9940a6fe79f78a94e4168107b66c67538.tar.gz |
lavc/libzvbi: remove deprecated API usage
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Josh de Kock <josh@itanimul.li>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libzvbi-teletextdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libzvbi-teletextdec.c b/libavcodec/libzvbi-teletextdec.c index d1f0a9f78e..687b6af129 100644 --- a/libavcodec/libzvbi-teletextdec.c +++ b/libavcodec/libzvbi-teletextdec.c @@ -395,7 +395,7 @@ static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *data_si if (!ctx->vbi) { if (!(ctx->vbi = vbi_decoder_new())) return AVERROR(ENOMEM); - if (!vbi_event_handler_add(ctx->vbi, VBI_EVENT_TTX_PAGE, handler, ctx)) { + if (!vbi_event_handler_register(ctx->vbi, VBI_EVENT_TTX_PAGE, handler, ctx)) { vbi_decoder_delete(ctx->vbi); ctx->vbi = NULL; return AVERROR(ENOMEM); |