Show
Ignore:
Timestamp:
06/23/10 16:38:49 (4 years ago)
Author:
robert
Message:

From Magnus Kessler, "FFmpeg headers need STDC_CONSTANT_MACROS defined before stdint.h is loaded.
The file FFmpegHeaders.hpp sets this definition. However, if stdint.h is
already included through other files, it won't take any effect.

Include FFmpeg headers as early as possible in order to avoid stdint.h being
included on other paths.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp

    r10961 r11651  
    22#ifndef HEADER_GUARD_OSGFFMPEG_FFMPEG_IMAGE_STREAM_H 
    33#define HEADER_GUARD_OSGFFMPEG_FFMPEG_IMAGE_STREAM_H 
     4 
     5#include "FFmpegDecoder.hpp" 
     6#include "MessageQueue.hpp" 
    47 
    58#include <osg/ImageStream> 
     
    710#include <OpenThreads/Condition> 
    811#include <OpenThreads/Thread> 
    9  
    10 #include "FFmpegDecoder.hpp" 
    11 #include "MessageQueue.hpp" 
    1212 
    1313namespace osgFFmpeg