diff options
author | Michael Niedermayer | 2011-10-05 21:47:51 +0200 |
---|---|---|
committer | Michael Niedermayer | 2011-10-06 00:07:03 +0200 |
commit | 63b6d5f33fa9724111c46504c6f07dc516379a75 (patch) | |
tree | 3c1177c10998b93489dd940d89115880e17a7816 /libavformat/utils.c | |
parent | d7366d918ff89e1e5b1ad0d33e688e4484c9c35b (diff) |
update_stream_timings: Remove redundant check.
Found-by:Nicolas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d8b62f3083..e9c60e73f0 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1903,7 +1903,7 @@ static void update_stream_timings(AVFormatContext *ic) st = ic->streams[i]; if (st->start_time != AV_NOPTS_VALUE && st->time_base.den) { start_time1= av_rescale_q(st->start_time, st->time_base, AV_TIME_BASE_Q); - if (st->codec->codec_id == CODEC_ID_DVB_TELETEXT || st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) { + if (st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) { if (start_time1 < start_time_text) start_time_text = start_time1; } else |