http://devel.mplayer2.org/changeset/f5e0365c8e76e2ef797027134f1819e613764d7e/ http://devel.mplayer2.org/ticket/202 https://bugs.gentoo.org/show_bug.cgi?id=439604 Index: libmpcodecs/vf_lavc.c =================================================================== --- libmpcodecs/vf_lavc.c (revision db8cdc73e38c3490389212d94ae9b92dfddd5975) +++ libmpcodecs/vf_lavc.c (revision f5e0365c8e76e2ef797027134f1819e613764d7e) @@ -74,9 +74,4 @@ if (avcodec_open2(&lavc_venc_context, vf->priv->codec, NULL) != 0) { mp_tmsg(MSGT_VFILTER,MSGL_ERR,"Could not open codec.\n"); - return 0; - } - - if (lavc_venc_context.codec->encode == NULL) { - mp_msg(MSGT_VFILTER,MSGL_ERR,"avcodec init failed (ctx->codec->encode == NULL)!\n"); return 0; }