Show
Ignore:
Timestamp:
03/04/09 12:46:34 (4 years ago)
Author:
robert
Message:

Fixed img_convert usage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp

    r9854 r9856  
    66#include <string.h> 
    77 
    8 #if 0 
    9 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 #endif 
    16  
    178namespace osgFFmpeg { 
    18  
    19  
    209 
    2110FFmpegDecoderVideo::FFmpegDecoderVideo(PacketQueue & packets, FFmpegClocks & clocks) : 
     
    235224           dst->data, dst->linesize); 
    236225#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) 
    239228#endif 
    240229}