[FFmpeg-cvslog] r13980 - trunk/libavformat/oma.c

banan subversion
Wed Jun 25 21:59:52 CEST 2008


Author: banan
Date: Wed Jun 25 21:59:52 2008
New Revision: 13980

Log:
Add support for mp3 contained in oma

Modified:
   trunk/libavformat/oma.c

Modified: trunk/libavformat/oma.c
==============================================================================
--- trunk/libavformat/oma.c	(original)
+++ trunk/libavformat/oma.c	Wed Jun 25 21:59:52 2008
@@ -147,6 +147,10 @@ static int oma_read_header(AVFormatConte
             av_set_pts_info(st, 64, 1, st->codec->sample_rate);
             av_log(s, AV_LOG_ERROR, "Unsupported codec ATRAC3+!\n");
             break;
+        case OMA_CODECID_MP3:
+            st->need_parsing = AVSTREAM_PARSE_FULL;
+            framesize = 1024;
+            break;
         default:
             av_log(s, AV_LOG_ERROR, "Unsupported codec %d!\n",buf[32]);
             return -1;




More information about the ffmpeg-cvslog mailing list