[FFmpeg-cvslog] r19014 - trunk/libavformat/utils.c

bcoudurier subversion
Sun May 31 06:13:25 CEST 2009


Author: bcoudurier
Date: Sun May 31 06:13:25 2009
New Revision: 19014

Log:
use dts codec probing

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Sun May 31 06:10:15 2009	(r19013)
+++ trunk/libavformat/utils.c	Sun May 31 06:13:25 2009	(r19014)
@@ -336,6 +336,9 @@ static int set_codec_from_probe_data(AVS
         } 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;



More information about the ffmpeg-cvslog mailing list