add aac.cpp THX DboxOldie

This commit is contained in:
max10
2014-10-08 17:14:10 +02:00
parent 88f8a280fc
commit db151715a8
4 changed files with 189 additions and 2 deletions

View File

@@ -64,9 +64,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;