Fixed unused parameter warning.
This commit is contained in:
@@ -23,7 +23,7 @@ extern "C"
|
||||
|
||||
# include <libavutil/opt.h>
|
||||
|
||||
inline AVAudioResampleContext * swr_alloc_set_opts_proxy(SwrContext *ctx, int64_t out_ch_layout, enum AVSampleFormat out_sample_format, int out_sample_rate, int64_t in_ch_layout, enum AVSampleFormat in_sample_format, int in_sample_rate, int /*log_offset*/, void * /*log_ctx*/)
|
||||
inline AVAudioResampleContext * swr_alloc_set_opts_proxy(SwrContext* /*ctx*/, int64_t out_ch_layout, enum AVSampleFormat out_sample_format, int out_sample_rate, int64_t in_ch_layout, enum AVSampleFormat in_sample_format, int in_sample_rate, int /*log_offset*/, void * /*log_ctx*/)
|
||||
{
|
||||
AVAudioResampleContext *avr = avresample_alloc_context();
|
||||
av_opt_set_int(avr, "in_channel_layout", in_ch_layout, 0);
|
||||
|
||||
@@ -33,7 +33,8 @@ FFmpegImageStream::FFmpegImageStream() :
|
||||
|
||||
|
||||
FFmpegImageStream::FFmpegImageStream(const FFmpegImageStream & image, const osg::CopyOp & copyop) :
|
||||
osg::ImageStream(image, copyop)
|
||||
osg::ImageStream(image, copyop),
|
||||
OpenThreads::Thread()
|
||||
{
|
||||
// TODO: probably incorrect or incomplete
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
extern "C" {
|
||||
|
||||
static void log_to_osg(void *ptr, int level, const char *fmt, va_list vl)
|
||||
static void log_to_osg(void* /*ptr*/, int level, const char *fmt, va_list vl)
|
||||
{
|
||||
char logbuf[256];
|
||||
vsnprintf(logbuf, sizeof(logbuf), fmt, vl);
|
||||
|
||||
Reference in New Issue
Block a user