Changeset 9856
- Timestamp:
- 03/04/09 12:46:34 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgPlugins/ffmpeg
- Files:
-
- 2 modified
-
FFmpegDecoderVideo.cpp (modified) (2 diffs)
-
FFmpegDecoderVideo.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp
r9854 r9856 6 6 #include <string.h> 7 7 8 #if 09 extern "C"10 {11 int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src,12 int src_pix_fmt, int src_width, int src_height);13 14 };15 #endif16 17 8 namespace osgFFmpeg { 18 19 20 9 21 10 FFmpegDecoderVideo::FFmpegDecoderVideo(PacketQueue & packets, FFmpegClocks & clocks) : … … 235 224 dst->data, dst->linesize); 236 225 #else 237 return convert(dst, dst_pix_fmt, src,238 src_pix_fmt, src_width, src_height)226 return im_convert(dst, dst_pix_fmt, src, 227 src_pix_fmt, src_width, src_height) 239 228 #endif 240 229 } -
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp
r9854 r9856 123 123 volatile bool m_exit; 124 124 125 #if USE_SWSCALE125 #ifdef USE_SWSCALE 126 126 struct SwsContext * m_swscale_ctx; 127 127 #endif
