From eb98e43c0f7bad6c7bf682570b0b41ff7759132a Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 15 Jul 2013 03:24:12 +0200 Subject: Fix build on Libav stable (dammit) The previous commit fixed Libav git, but it was still broken on Libav 9.8. Also, while we're at it, add a note to lavc_dr1.c and its status. --- video/decode/lavc_dr1.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/video/decode/lavc_dr1.c b/video/decode/lavc_dr1.c index e81b723a70..85f70b0284 100644 --- a/video/decode/lavc_dr1.c +++ b/video/decode/lavc_dr1.c @@ -19,6 +19,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +/* + * NOTE: this file is for compatibility with older versions of + * libavcodec, before AVFrame reference counting was introduced. + * It is not compiled if libavcodec is new enough. + */ + #include #include #include @@ -30,6 +37,7 @@ #include #include #include +#include #include "lavc.h" -- cgit v1.2.3