projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8c818
)
Add support for mp3 contained in oma
author
Benjamin Larsson
<banan@ludd.ltu.se>
Wed, 25 Jun 2008 19:59:52 +0000
(19:59 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Wed, 25 Jun 2008 19:59:52 +0000
(19:59 +0000)
Originally committed as revision 13980 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oma.c
patch
|
blob
|
history
diff --git
a/libavformat/oma.c
b/libavformat/oma.c
index
1f8f512
..
653f413
100644
(file)
--- a/
libavformat/oma.c
+++ b/
libavformat/oma.c
@@
-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;