add aac.cpp THX DboxOldie

This commit is contained in:
max10
2014-10-08 17:14:10 +02:00
committed by Stefan Seyfried
parent 00b856173d
commit f163af47d2
4 changed files with 189 additions and 2 deletions

View File

@@ -66,9 +66,10 @@ int64_t Input::calcPts(AVStream * stream, int64_t pts)
return INVALID_PTS_VALUE;
pts = av_rescale(90000ll * stream->time_base.num, pts, stream->time_base.den);
#if 0
if (avfc->start_time != AV_NOPTS_VALUE)
pts -= av_rescale(90000ll, avfc->start_time, AV_TIME_BASE);
#endif
if (pts < 0)
return INVALID_PTS_VALUE;