diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-31 04:13:25 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-31 04:13:25 +0000 |
commit | e695906ec77b4647e29a769d24aef47bf6655af7 (patch) | |
tree | d46e207ccfd455de8d59d2c12c36c688473f6bdd /libavformat | |
parent | 7103a77b4dbf4de31d909a52e2638cb01bf4d3fc (diff) | |
download | ffmpeg-e695906ec77b4647e29a769d24aef47bf6655af7.tar.gz |
use dts codec probing
Originally committed as revision 19014 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a93a9543eb..252a7974b0 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -336,6 +336,9 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score) } else if (!strcmp(fmt->name, "h264")) { st->codec->codec_id = CODEC_ID_H264; st->codec->codec_type = CODEC_TYPE_VIDEO; + } else if (!strcmp(fmt->name, "dts")) { + st->codec->codec_id = CODEC_ID_DTS; + st->codec->codec_type = CODEC_TYPE_AUDIO; } } return !!fmt; |