diff options
author | 2011-07-18 00:28:22 +0300 | |
---|---|---|
committer | 2011-07-18 00:57:05 +0300 | |
commit | a4f41308190b79d79a5ac7a50791332e5c1d5600 (patch) | |
tree | 5207b45480ff2317544e17118a58e321160f856c /libmpcodecs/vf_lavcdeint.c | |
parent | 4e2b15fc5e5f457f62605262a46962b5fd63ff99 (diff) |
cleanup: do libav* initialization on startup
Do the global initialization of libavcodec and libavformat
(avcodec_register_all(), av_register_all()) immediately on program
startup and remove the initialization calls from various individual
modules that use libavcodec/libavformat functionality.
Diffstat (limited to 'libmpcodecs/vf_lavcdeint.c')
-rw-r--r-- | libmpcodecs/vf_lavcdeint.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libmpcodecs/vf_lavcdeint.c b/libmpcodecs/vf_lavcdeint.c index fd564e72af..3a67c8db59 100644 --- a/libmpcodecs/vf_lavcdeint.c +++ b/libmpcodecs/vf_lavcdeint.c @@ -27,7 +27,6 @@ #include "img_format.h" #include "mp_image.h" #include "vf.h" -#include "vd_ffmpeg.h" #include "libavcodec/avcodec.h" @@ -171,11 +170,6 @@ vf_open(vf_instance_t *vf, char *args) vf->priv = malloc(sizeof(struct vf_priv_s)); memset(vf->priv,0,sizeof(struct vf_priv_s)); - /* This may not technically be necessary just for a deinterlace, - * but it seems like a good idea. - */ - init_avcodec(); - return 1; } |