Skip to content

Instantly share code, notes, and snippets.

@gmanley
Created September 28, 2012 05:24
Show Gist options
  • Save gmanley/3798076 to your computer and use it in GitHub Desktop.
Save gmanley/3798076 to your computer and use it in GitHub Desktop.
---
libmpcodecs/vf_lavc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmpcodecs/vf_lavc.c b/libmpcodecs/vf_lavc.c
index b2c1dd7..0ce98c0 100644
--- a/libmpcodecs/vf_lavc.c
+++ b/libmpcodecs/vf_lavc.c
@@ -76,7 +76,7 @@ static int config(struct vf_instance *vf,
return 0;
}
- if (lavc_venc_context.codec->encode == NULL) {
+ if (lavc_venc_context.codec->encode2 == NULL) {
mp_msg(MSGT_VFILTER,MSGL_ERR,"avcodec init failed (ctx->codec->encode == NULL)!\n");
return 0;
}
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment