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.
This commit is contained in:
wm4 2013-07-15 03:24:12 +02:00
parent ee013bd969
commit eb98e43c0f
1 changed files with 8 additions and 0 deletions

View File

@ -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 <string.h>
#include <stdlib.h>
#include <errno.h>
@ -30,6 +37,7 @@
#include <libavutil/mathematics.h>
#include <libavutil/imgutils.h>
#include <libavutil/pixdesc.h>
#include <libavutil/common.h>
#include "lavc.h"