Commit 75d27450 authored by Benjamin Larsson's avatar Benjamin Larsson

Add support for mp3 contained in oma

Originally committed as revision 13980 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent de8c8181
......@@ -147,6 +147,10 @@ static int oma_read_header(AVFormatContext *s,
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;
......
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