diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-05 19:31:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-05 19:31:55 +0400 |
commit | 556b57febf9191210474678537322e86f3ef8cd9 (patch) | |
tree | 9bcb13af3da57c4279e90b0ef3ea3756953e7b9a /source/gameengine/VideoTexture/VideoFFmpeg.cpp | |
parent | 2403214cb474fe71c0fd9b42a6c0155c8159b7b3 (diff) |
get rid of some warnings,
removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere.
Diffstat (limited to 'source/gameengine/VideoTexture/VideoFFmpeg.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/VideoFFmpeg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/VideoFFmpeg.cpp b/source/gameengine/VideoTexture/VideoFFmpeg.cpp index 290af8e63c5..5a80522ea7d 100644 --- a/source/gameengine/VideoTexture/VideoFFmpeg.cpp +++ b/source/gameengine/VideoTexture/VideoFFmpeg.cpp @@ -23,7 +23,9 @@ http://www.gnu.org/copyleft/lesser.txt. #ifdef WITH_FFMPEG // INT64_C fix for some linux machines (C99ism) +#ifndef __STDC_CONSTANT_MACROS #define __STDC_CONSTANT_MACROS +#endif #include <stdint.h> @@ -937,7 +939,6 @@ AVFrame *VideoFFmpeg::grabFrame(long position) if (position != m_curPosition + 1) { int64_t pos = (int64_t)((position - m_preseek) / (m_baseFrameRate*timeBase)); - int seekres; if (pos < 0) pos = 0; |