mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 19:46:43 +00:00
Removed a warning about comparision between signed and unsigned variable in ffmpeg_decoder.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
cf5c5cbce7
commit
6987dd768a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 != AV_NOPTS_VALUE)
|
||||||
mNextPts = av_q2d((*mStream)->time_base)*mPacket.pts;
|
mNextPts = av_q2d((*mStream)->time_base)*mPacket.pts;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue