spacing and NULL=>nullptr

This commit is contained in:
Isaac Connor 2021-01-07 09:36:54 -05:00
parent f842e9e2ed
commit 824cbb7879
1 changed files with 3 additions and 3 deletions

View File

@ -2255,7 +2255,7 @@ int LocalCamera::PostCapture() {
AVStream *LocalCamera::get_VideoStream() {
if ( ! video_stream ) {
AVFormatContext *oc = avformat_alloc_context();
video_stream = avformat_new_stream( oc, NULL );
video_stream = avformat_new_stream(oc, nullptr);
if ( video_stream ) {
video_stream->time_base = (AVRational){1, 1000000}; // microseconds as base frame rate
#if LIBAVCODEC_VERSION_CHECK(57, 64, 0, 64, 0)