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"