diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-17 15:23:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-12-18 16:17:39 +0100 |
commit | ee20b332c872b48cbcf914a2b4adc52aa3e94175 (patch) | |
tree | 096f00e5e7bbcce99aa3bae59bb0f5972c64eaa3 /libavformat/oma.c | |
parent | 08f7af0c379d9eaa931a93e6e733879237be054d (diff) | |
download | ffmpeg-ee20b332c872b48cbcf914a2b4adc52aa3e94175.tar.gz |
omadec: split data that will be used in the muxer to a separate file.
Diffstat (limited to 'libavformat/oma.c')
-rw-r--r-- | libavformat/oma.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libavformat/oma.c b/libavformat/oma.c new file mode 100644 index 0000000000..930991cf00 --- /dev/null +++ b/libavformat/oma.c @@ -0,0 +1,33 @@ +/* + * Sony OpenMG (OMA) common data + * + * This file is part of Libav. + * + * Libav is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Libav 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Libav; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include "internal.h" +#include "oma.h" +#include "libavcodec/avcodec.h" + +const uint16_t ff_oma_srate_tab[6] = { 320, 441, 480, 882, 960, 0 }; + +const AVCodecTag ff_oma_codec_tags[] = { + { CODEC_ID_ATRAC3, OMA_CODECID_ATRAC3 }, + { CODEC_ID_ATRAC3P, OMA_CODECID_ATRAC3P }, + { CODEC_ID_MP3, OMA_CODECID_MP3 }, + { CODEC_ID_PCM_S16BE, OMA_CODECID_LPCM }, + { 0 }, +}; |