I have compiled ZM, and get this warning:
Code: Select all
zm_image.cpp: In member function 'void Image::Blend(const Image&, int) const':
zm_image.cpp:779: warning: operation on 'pdest' may be undefined
Code: Select all
*pdest++ = (*blend_ptr)[*pdest][*psrc++];
Here is a FAQ about this issue, but I don't know how to modify this, because I don't know what reach with it.
http://c-faq.com/expr/evalorder2.html
Another piece of warning is:
Code: Select all
zm_mpeg.cpp: In member function 'void VideoStream::SetupCodec(int, int, int, int, double)':
zm_mpeg.cpp:108: warning: converting to 'int' from 'double'
Code: Select all
void VideoStream::SetupCodec( int colours, int width, int height, int bitrate, double frame_rate )
Code: Select all
c->time_base.den = frame_rate;
Code: Select all
c->time_base.den = (int)(frame_rate);
Thank you