mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 01:36:12 +08:00
fix a minor warning and make ffmpeg dependencies a little bit easier to deal with in VS
This commit is contained in:
@@ -210,7 +210,7 @@ void audio_line_output(audio_line_t line, const struct audio_data *data)
|
||||
position = convert_to_sample_offset(line->audio, position);
|
||||
position *= line->audio->block_size;
|
||||
|
||||
circlebuf_place(&line->buffer, position, data->data,
|
||||
circlebuf_place(&line->buffer, (size_t)position, data->data,
|
||||
data->frames * line->audio->block_size);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -152,22 +152,22 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(FFmpegPath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(FFmpegPath)\lib32;$(LibraryPath)</LibraryPath>
|
||||
<LibraryPath>$(FFmpegPath)\lib32;$(FFmpegPath)\libavcodec;$(FFmpegPath)\libavutil;$(FFmpegPath)\libavformat;$(FFmpegPath)\libswresample;$(FFmpegPath)\libswscale;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(FFmpegPath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(FFmpegPath)\lib64;$(LibraryPath)</LibraryPath>
|
||||
<LibraryPath>$(FFmpegPath)\lib64;$(FFmpegPath)\libavcodec;$(FFmpegPath)\libavutil;$(FFmpegPath)\libavformat;$(FFmpegPath)\libswresample;$(FFmpegPath)\libswscale;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(FFmpegPath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(FFmpegPath)\lib32;$(LibraryPath)</LibraryPath>
|
||||
<LibraryPath>$(FFmpegPath)\lib32;$(FFmpegPath)\libavcodec;$(FFmpegPath)\libavutil;$(FFmpegPath)\libavformat;$(FFmpegPath)\libswresample;$(FFmpegPath)\libswscale;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(FFmpegPath);$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(FFmpegPath)\lib64;$(LibraryPath)</LibraryPath>
|
||||
<LibraryPath>$(FFmpegPath)\lib64;$(FFmpegPath)\libavcodec;$(FFmpegPath)\libavutil;$(FFmpegPath)\libavformat;$(FFmpegPath)\libswresample;$(FFmpegPath)\libswscale;$(LibraryPath)</LibraryPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
|
||||
Reference in New Issue
Block a user