Fixed warnings and refactored FindFFmpeg.cmake and ffmpeg plugin CMakeLists.txt scripts to better handle different instation combinations
This commit is contained in:
@@ -284,7 +284,7 @@ size_t FFmpegDecoderAudio::decodeFrame(void * const buffer, const size_t size)
|
||||
|
||||
if (m_packet.type == FFmpegPacket::PACKET_DATA)
|
||||
{
|
||||
if (m_packet.packet.pts != AV_NOPTS_VALUE)
|
||||
if (m_packet.packet.pts != int64_t(AV_NOPTS_VALUE))
|
||||
{
|
||||
const double pts = av_q2d(m_stream->time_base) * m_packet.packet.pts;
|
||||
m_clocks.audioSetBufferEndPts(pts);
|
||||
|
||||
Reference in New Issue
Block a user