FernetMenta / vdr-plugin-vnsiserver

VDR plugin to handle XBMC clients.
GNU General Public License v2.0
17 stars 33 forks source link

Make cParserMPEG2Video::m_FrameDuration 64bit #107

Closed mglae closed 6 years ago

mglae commented 6 years ago

Compiling with -W shows:

In file included from parser_MPEGVideo.h:29:0,
                 from parser_MPEGVideo.c:25:
parser_MPEGVideo.c: In member function ‘virtual void cParserMPEG2Video::Parse(sStreamPacket*, sStreamPacket*)’:
parser.h:33:37: warning: comparison is always true due to limited range of data type [-Wtype-limits]
 #define DVD_NOPTS_VALUE    (-1LL<<52) // should be possible to represent in both double and
                                     ^
parser_MPEGVideo.c:103:32: note: in expansion of macro ‘DVD_NOPTS_VALUE’
         if (m_FrameDuration != DVD_NOPTS_VALUE)