[FFmpeg-devel] [PATCH v2] lavc/libzvbi: remove deprecated API usage
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Feb 12 16:42:57 EET 2017
2017-02-12 15:35 GMT+01:00 Josh de Kock <josh at itanimul.li>:
> I'm not sure, 0.2.28 doesn't compile on my system. It has
> been tested with the latest version 0.2.38.
>
> Does the updated patch look better?
I prefer it if nobody wants to test old versions.
> - vbi_decoder_delete(ctx->vbi);
> - ctx->vbi = NULL;
> + if (ctx->vbi) {
Is this unrelated?
> +#if VBI_VERSION >= 234 // 0.2.34
> + vbi_event_handler_unregister(ctx->vbi, handler, ctx);
> +#endif
> + vbi_decoder_delete(ctx->vbi);
> + ctx->vbi = NULL;
> + }
Carl Eugen
More information about the ffmpeg-devel
mailing list