aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-04-26 17:02:41 +0200
committerdec05eba <dec05eba@protonmail.com>2022-04-26 17:03:08 +0200
commitb3fa6afd56aaa1a4b9c428b27a3ac9b502eed362 (patch)
tree1d82dacf41d3d8ceefe259f6433f05f21b10c586 /src/main.cpp
parent304b5c8e925d2e489d278b19b87e0ee88efb7637 (diff)
Update README with info about nvfbc being slower
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e6532df..2b29d3b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,7 +69,7 @@ static const int AUDIO_STREAM_INDEX = 1;
static thread_local char av_error_buffer[AV_ERROR_MAX_STRING_SIZE];
static char* av_error_to_string(int err) {
- if(av_strerror(err, av_error_buffer, sizeof(av_error_buffer) < 0))
+ if(av_strerror(err, av_error_buffer, sizeof(av_error_buffer)) < 0)
strcpy(av_error_buffer, "Unknown error");
return av_error_buffer;
}