--- operations/external/ff-load.c~	2008-10-08 20:02:57.000000000 +0200
+++ operations/external/ff-load.c	2008-10-08 20:03:52.000000000 +0200
@@ -34,6 +34,10 @@
 #include <errno.h>
 #include <libavformat/avformat.h>
 
+#if LIBAVCODEC_VERSION_MAJOR > 51
+#define error_resilience error_recognition
+#endif
+
 typedef struct
 {
   gdouble          frames;

