]> git.sesse.net Git - ffmpeg/commitdiff
omadec: Disable "Unsupported codec ATRAC3+" warning
authorMaxim Poliakovski <max_pole@gmx.de>
Thu, 10 Oct 2013 18:46:00 +0000 (20:46 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Dec 2013 00:11:21 +0000 (01:11 +0100)
Also add a list of supported decoders.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/omadec.c

index 6a08076f4730a62ab282bd0882c718cdee67270d..dc6a12af3cebb2039db617b94d6771a2c89fc312 100644 (file)
@@ -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;