Fixed warning

This commit is contained in:
Robert Osfield
2011-06-17 06:22:01 +00:00
parent 52aeb306d0
commit c547172c24
2 changed files with 2 additions and 3 deletions

View File

@@ -5,8 +5,6 @@
#include <iostream>
#include <sstream>
namespace osgFFmpeg {
@@ -37,7 +35,7 @@ void FFmpegParameters::parse(const std::string& name, const std::string& value)
}
else if (name == "pixel_format")
{
m_parameters.pix_fmt = avcodec_get_pix_fmt(value.c_str());
m_parameters.pix_fmt = av_get_pix_fmt(value.c_str());
}
else if (name == "frame_size")
{