add aac.cpp THX DboxOldie

Origin commit data
------------------
Branch: master
Commit: db151715a8
Author: max_10 <max_10@gmx.de>
Date: 2014-10-08 (Wed, 08 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2014-10-08 17:14:10 +02:00
parent ad7b338fb8
commit 2b3f20ee2a
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;