mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Merge remote-tracking branch 'lgro/ffmpeg_decoder'
This commit is contained in:
commit
8b3d876534
@ -69,7 +69,7 @@ bool FFmpeg_Decoder::getNextPacket()
|
|||||||
/* Check if the packet belongs to this stream */
|
/* Check if the packet belongs to this stream */
|
||||||
if(stream_idx == mPacket.stream_index)
|
if(stream_idx == mPacket.stream_index)
|
||||||
{
|
{
|
||||||
if((uint64_t)mPacket.pts != AV_NOPTS_VALUE)
|
if(mPacket.pts != (int64_t)AV_NOPTS_VALUE)
|
||||||
mNextPts = av_q2d((*mStream)->time_base)*mPacket.pts;
|
mNextPts = av_q2d((*mStream)->time_base)*mPacket.pts;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user