[FFmpeg-cvslog] omadec: Disable "Unsupported codec ATRAC3+" warning

Maxim Poliakovski git at videolan.org
Sun Dec 29 02:28:06 CET 2013


ffmpeg | branch: master | Maxim Poliakovski <max_pole at gmx.de> | Thu Oct 10 20:46:00 2013 +0200| [54bb30bae2ec6d721dd4dd89fff762b14fcf68e4] | committer: Michael Niedermayer

omadec: Disable "Unsupported codec ATRAC3+" warning

Also add a list of supported decoders.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54bb30bae2ec6d721dd4dd89fff762b14fcf68e4
---

 libavformat/omadec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 6a08076..dc6a12a 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -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;



More information about the ffmpeg-cvslog mailing list