Show
Ignore:
Timestamp:
06/25/09 18:02:23 (4 years ago)
Author:
robert
Message:

Fixed warnings and refactored FindFFmpeg.cmake and ffmpeg plugin CMakeLists.txt scripts to better handle different instation combinations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp

    r9910 r10414  
    285285        if (m_packet.type == FFmpegPacket::PACKET_DATA) 
    286286        { 
    287             if (m_packet.packet.pts != AV_NOPTS_VALUE) 
     287            if (m_packet.packet.pts != int64_t(AV_NOPTS_VALUE)) 
    288288            { 
    289289                const double pts = av_q2d(m_stream->time_base) * m_packet.packet.pts;