comparison utils.c @ 4989:7cd258a049b1 libavformat

use dts codec probing
author bcoudurier
date Sun, 31 May 2009 04:13:25 +0000
parents 76263311c368
children 54fa3d7ab724
comparison
equal deleted inserted replaced
4988:ba58d4eaca58 4989:7cd258a049b1
334 st->codec->codec_id = CODEC_ID_MPEG4; 334 st->codec->codec_id = CODEC_ID_MPEG4;
335 st->codec->codec_type = CODEC_TYPE_VIDEO; 335 st->codec->codec_type = CODEC_TYPE_VIDEO;
336 } else if (!strcmp(fmt->name, "h264")) { 336 } else if (!strcmp(fmt->name, "h264")) {
337 st->codec->codec_id = CODEC_ID_H264; 337 st->codec->codec_id = CODEC_ID_H264;
338 st->codec->codec_type = CODEC_TYPE_VIDEO; 338 st->codec->codec_type = CODEC_TYPE_VIDEO;
339 } else if (!strcmp(fmt->name, "dts")) {
340 st->codec->codec_id = CODEC_ID_DTS;
341 st->codec->codec_type = CODEC_TYPE_AUDIO;
339 } 342 }
340 } 343 }
341 return !!fmt; 344 return !!fmt;
342 } 345 }
343 346