Files
veejay/veejay-current/veejay-server/libel/av.h

100 lines
2.2 KiB
C
Executable File

/* veejay - Linux VeeJay
* (C) 2002-2015 Niels Elburg <nwelburg@gmail.com>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef AV_H
#define AV_H
#include <libavcodec/version.h>
#if LIBAVCODEC_VERSION_MAJOR > 55
#ifndef CODEC_ID_MJPEGB
#define CODEC_ID_MJPEGB AV_CODEC_ID_MJPEGB
#endif
#ifndef CODEC_ID_MPEG4
#define CODEC_ID_MPEG4 AV_CODEC_ID_MPEG4
#endif
#ifndef CODEC_ID_MSMPEG4V3
#define CODEC_ID_MSMPEG4V3 AV_CODEC_ID_MSMPEG4V3
#endif
#ifndef CODEC_ID_DVVIDEO
#define CODEC_ID_DVVIDEO AV_CODEC_ID_DVVIDEO
#endif
#ifndef CODEC_ID_LJPEG
#define CODEC_ID_LJPEG AV_CODEC_ID_LJPEG
#endif
#ifndef CODEC_ID_SP5X
#define CODEC_ID_SP5X AV_CODEC_ID_SP5X
#endif
#ifndef CODEC_ID_THEORA
#define CODEC_ID_THEORA AV_CODEC_ID_THEORA
#endif
#ifndef CODEC_ID_H264
#define CODEC_ID_H264 AV_CODEC_ID_H264
#endif
#ifndef CODEC_ID_MJPEG
#define CODEC_ID_MJPEG AV_CODEC_ID_MJPEG
#endif
#ifndef CODEC_ID_PNG
#define CODEC_ID_PNG AV_CODEC_ID_PNG
#endif
#ifndef CODEC_ID_MSMPEG4V2
#define CODEC_ID_MSMPEG4V2 AV_CODEC_ID_MSMPEG4V2
#endif
#ifndef CODEC_ID_MSMPEG4V1
#define CODEC_ID_MSMPEG4V1 AV_CODEC_ID_MSMPEG4V1
#endif
#ifndef CODEC_ID_HUFFYUV
#define CODEC_ID_HUFFYUV AV_CODEC_ID_HUFFYUV
#endif
#ifndef CODEC_ID_CYUV
#define CODEC_ID_CYUV AV_CODEC_ID_CYUV
#endif
#ifndef CODEC_ID_SVQ1
#define CODEC_ID_SVQ1 AV_CODEC_ID_SVQ1
#endif
#ifndef CODEC_ID_SVQ3
#define CODEC_ID_SVQ3 AV_CODEC_ID_SVQ3
#endif
#ifndef CODEC_ID_RPZA
#define CODEC_ID_RPZA AV_CODEC_ID_RPZA
#endif
#ifndef CODEC_ID_FIRST_AUDIO
#define CODEC_ID_FIRST_AUDIO AV_CODEC_ID_FIRST_AUDIO
#endif
#endif
#endif