diff options
Diffstat (limited to 'libmpcodecs/vf_screenshot.c')
-rw-r--r-- | libmpcodecs/vf_screenshot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index 1b5d575fba..655a014886 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -301,7 +301,6 @@ static int vf_open(vf_instance_t *vf, char *args) vf->priv->outbuffer=0; vf->priv->ctx=0; vf->priv->avctx = avcodec_alloc_context(); - avcodec_register_all(); if (avcodec_open(vf->priv->avctx, avcodec_find_encoder(CODEC_ID_PNG))) { mp_msg(MSGT_VFILTER, MSGL_FATAL, "Could not open libavcodec PNG encoder\n"); return 0; |