obs-studio/plugins/obs-ffmpeg
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
..
data/locale Add latest translations from CrowdIn 2015-05-08 17:10:39 -04:00
ffmpeg-mux obs-ffmpeg: Add ffmpeg muxer pipe program 2015-06-21 22:34:49 -07:00
CMakeLists.txt obs-ffmpeg: Add ffmpeg muxer 2015-06-21 22:34:49 -07:00
closest-pixel-format.h obs-ffmpeg: Add support for YUV 4:4:4 2015-04-18 00:03:14 -07:00
obs-ffmpeg-aac.c obs-ffmpeg: Fix potential integer overflows 2015-07-03 17:18:08 -07:00
obs-ffmpeg-compat.h Add compatiblity for some older ffmpeg versions 2014-04-05 16:12:32 +02:00
obs-ffmpeg-formats.h Add planar YUV 4:4:4 format support 2015-04-17 20:16:40 -07:00
obs-ffmpeg-mux.c obs-ffmpeg: Add ffmpeg muxer 2015-06-21 22:34:49 -07:00
obs-ffmpeg-output.c obs-ffmpeg: Fix potential integer overflows 2015-07-03 17:18:08 -07:00
obs-ffmpeg-source.c obs-ffmpeg: Use timestamps from video/audio frames 2015-06-10 09:44:25 -07:00
obs-ffmpeg.c obs-ffmpeg: Add ffmpeg muxer 2015-06-21 22:34:49 -07:00