Commit 54bb30ba authored by Maxim Poliakovski's avatar Maxim Poliakovski Committed by Michael Niedermayer

omadec: Disable "Unsupported codec ATRAC3+" warning

Also add a list of supported decoders.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2e1fb96a
......@@ -37,6 +37,7 @@
* - Sound data organized in packets follow the EA3 header
* (can be encrypted using the Sony DRM!).
*
* Supported decoders: ATRAC3, ATRAC3+, MP3, LPCM
*/
#include "libavutil/channel_layout.h"
......@@ -379,7 +380,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_RAW;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment