summaryrefslogtreecommitdiffstats
path: root/src/encoder/encoderffmpegvorbis.cpp
blob: 7c37c79610bec05188580854ee8fab754b849b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/****************************************************************************
                   encoderffmpegvorbis.cpp  -  FFMPEG OGG/Vorbis encoder for mixxx
                             -------------------
    copyright            : (C) 2012-2013 by Tuukka Pasanen
                           (C) 2007 by Wesley Stessens
                           (C) 1994 by Xiph.org (encoder example)
                           (C) 1994 Tobias Rafreider (broadcast and recording fixes)
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#include "encoder/encoderffmpegvorbis.h"

// Constructor
#if LIBAVCODEC_VERSION_INT > 3544932
EncoderFfmpegVorbis::EncoderFfmpegVorbis(EncoderCallback* pCallback) : EncoderFfmpegCore(pCallback, AV_CODEC_ID_VORBIS)
#else
EncoderFfmpegVorbis::EncoderFfmpegVorbis(EncoderCallback* pCallback) : EncoderFfmpegCore(pCallback, CODEC_ID_VORBIS)
#endif
{
}