Skip to content

Commit

Permalink
clang-format recent SDL contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Aug 2, 2024
1 parent d0941cf commit 7f7ec80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/modules/sdl2/consumer_sdl2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* consumer_sdl.c -- A Simple DirectMedia Layer consumer
* Copyright (C) 2017-2023 Meltytech, LLC
* Copyright (C) 2017-2024 Meltytech, LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -702,7 +702,9 @@ static void *video_thread(void *arg)

if (!self->running || next == NULL) {
if (self->running) {
mlt_log_warning(MLT_CONSUMER_SERVICE(&self->parent), "video thread got a null frame even though the consumer is still running!\n");
mlt_log_warning(
MLT_CONSUMER_SERVICE(&self->parent),
"video thread got a null frame even though the consumer is still running!\n");
}
break;
}
Expand Down
6 changes: 4 additions & 2 deletions src/modules/sdl2/consumer_sdl2_audio.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* consumer_sdl2_audio.c -- A Simple DirectMedia Layer audio-only consumer
* Copyright (C) 2009-2021 Meltytech, LLC
* Copyright (C) 2009-2024 Meltytech, LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -467,7 +467,9 @@ static void *video_thread(void *arg)

if (!self->running || next == NULL) {
if (self->running) {
mlt_log_warning(MLT_CONSUMER_SERVICE(&self->parent), "video thread got a null frame even though the consumer is still running!\n");
mlt_log_warning(
MLT_CONSUMER_SERVICE(&self->parent),
"video thread got a null frame even though the consumer is still running!\n");
}
break;
}
Expand Down

0 comments on commit 7f7ec80

Please sign in to comment.