0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/plugins
jp9000 d1e9b9d66a obs-ffmpeg: Fix potential integer overflows
This particularly affected audio encoding, audio encoding previously
would count samples and use it to create an encoding timestamp, but
because I was using a standard integer (which is 32bit by default on
x86), it would max out at about 0x7FFFFFFF samples, which is about 12
hours of samples at 48000 sample rate.  After that, it would start going
into negative territory (overflowing).  By changing it to int64_t, it
will make it so that audio at 48000 samples per second would only be
able to overflow after about..  6.09 million years.  In other words,
this should fix the issue for good.
2015-07-03 17:18:08 -07:00
..
coreaudio-encoder coreaudio-encoder: Register get_properties 2015-07-02 10:05:31 +02:00
decklink decklink: Use audio/video timestamps from SDK 2015-07-01 20:03:10 -07:00
image-source UI: Add latest translations from CrowdIn 2015-03-25 20:51:25 -04:00
linux-capture Add latest translations from CrowdIn 2015-05-08 17:10:39 -04:00
linux-jack linux-jack: Add include directory to cmake 2015-05-04 22:37:17 +02:00
linux-pulseaudio linux-pulseaudio: Add include directory to cmake 2015-05-04 22:37:17 +02:00
linux-v4l2 Add latest translations from CrowdIn 2015-05-08 17:10:39 -04:00
mac-avcapture mac-avcapture: Fix NSString being initialized with NULL 2015-05-31 04:43:23 +02:00
mac-capture mac-capture: Get cursor visible setting on create 2015-04-02 17:48:22 -07:00
mac-syphon UI: Add latest translations from CrowdIn 2015-03-25 20:51:25 -04:00
obs-ffmpeg obs-ffmpeg: Fix potential integer overflows 2015-07-03 17:18:08 -07:00
obs-filters obs-filters: Add gain filter 2015-06-26 06:11:54 -07:00
obs-libfdk (API Change) Remove encoder callback boilerplate 2015-04-17 20:17:43 -07:00
obs-outputs obs-outputs: Reset frame drop variables on start 2015-04-18 00:47:00 -07:00
obs-x264 obs-x264: Call video info func to get format 2015-04-17 20:17:45 -07:00
rtmp-services UI: Add a couple new common services 2015-07-03 16:22:53 -07:00
text-freetype2 text-freetype2: Fix undefined behavior for alpha > 127 2015-05-31 04:45:40 +02:00
win-capture win-capture: Add 64bit bounce to func_hook 2015-07-03 12:17:25 -07:00
win-dshow win-dshow: Add audio output mode options 2015-06-05 10:49:50 -07:00
win-wasapi win-wasapi: Fix capture during silence 2015-04-15 19:42:37 +03:00
CMakeLists.txt coreaudio-encoder: Make encoder available on windows 2015-06-07 04:22:24 +02:00