ATRAC3+ decoder

Cleanup by Diego Biurrun.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
Maxim Polijakowski 2014-01-03 23:23:11 +01:00 committed by Kostya Shishkov
parent 4c642d8d98
commit e6f0bb6527
12 changed files with 5007 additions and 3 deletions

View file

@ -37,7 +37,7 @@
* - Sound data organized in packets follow the EA3 header
* (can be encrypted using the Sony DRM!).
*
* CODEC SUPPORT: Only ATRAC3 codec is currently supported!
* Supported decoders: ATRAC3, ATRAC3+, MP3, LPCM
*/
#include "libavutil/channel_layout.h"
@ -386,7 +386,6 @@ static int oma_read_header(AVFormatContext *s)
st->codec->sample_rate = samplerate;
st->codec->bit_rate = samplerate * framesize * 8 / 2048;
avpriv_set_pts_info(st, 64, 1, samplerate);
av_log(s, AV_LOG_ERROR, "Unsupported codec ATRAC3+!\n");
break;
case OMA_CODECID_MP3:
st->need_parsing = AVSTREAM_PARSE_FULL;