OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8166c49
)
Probe aac codecs for CODEC_ID_PROBE.
author
Joakim Plate
<elupus@ecce.se>
Wed, 31 Mar 2010 10:45:15 +0000
(10:45 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Wed, 31 Mar 2010 10:45:15 +0000
(10:45 +0000)
Patch by Joakim Plate, elupus ecce se
Originally committed as revision 22742 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
8b57b39
..
23731a8
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-370,6
+370,9
@@
static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
} else if (!strcmp(fmt->name, "dts")) {
st->codec->codec_id = CODEC_ID_DTS;
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
+ } else if (!strcmp(fmt->name, "aac")) {
+ st->codec->codec_id = CODEC_ID_AAC;
+ st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
}
}
return !!fmt;