Show
Ignore:
Timestamp:
02/27/09 18:00:28 (4 years ago)
Author:
robert
Message:

Ported across from using boost pointers, and prepped for integration of audio interface into core OSG

Files:
1 modified

Legend:

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

    r9818 r9826  
    7373 
    7474    // Allocate video frame 
    75     m_frame.reset(avcodec_alloc_frame(), av_free); 
     75    m_frame.reset(avcodec_alloc_frame()); 
    7676 
    7777    // Allocate converted RGB frame 
    78     m_frame_rgba.reset(avcodec_alloc_frame(), av_free); 
     78    m_frame_rgba.reset(avcodec_alloc_frame()); 
    7979    m_buffer_rgba.resize(avpicture_get_size(PIX_FMT_RGB32, width(), height())); 
    8080    m_buffer_rgba_public.resize(m_buffer_rgba.size());