--- src/frame.cc	2008-12-25 23:27:01.000000000 -0600
+++ src/frame.cc.new	2009-08-21 18:27:44.000000000 -0500
@@ -56,6 +56,11 @@
 #include "frame.h"
 #include "preferences.h"
 
+#if LIBAVUTIL_VERSION_INT >= (50<<16)
+#define PIX_FMT_YUV422 PIX_FMT_YUYV422
+#endif
+
+
 VideoInfo::VideoInfo() : width( 0 ), height( 0 ), isPAL( false )
 {}
 
