ATRAC3+ decoder
Cleanup by Diego Biurrun. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
parent
4c642d8d98
commit
e6f0bb6527
12 changed files with 5007 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue