Mercurial > libavformat.hg
diff utils.c @ 4989:7cd258a049b1 libavformat
use dts codec probing
| author | bcoudurier |
|---|---|
| date | Sun, 31 May 2009 04:13:25 +0000 |
| parents | 76263311c368 |
| children | 54fa3d7ab724 |
line wrap: on
line diff
--- a/utils.c Sun May 31 04:10:15 2009 +0000 +++ b/utils.c Sun May 31 04:13:25 2009 +0000 @@ -336,6 +336,9 @@ } 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;
