fftools/ffmpeg: remove unncessary casts for *_thread() return values

These functions used to be passed directly to pthread_create(), which
required them to return void*. This is no longer the case, so they can
return a plain int.
This commit is contained in:
Anton Khirnov
2024-02-22 16:02:21 +01:00
parent f5d03b972c
commit 2ee9362419
8 changed files with 16 additions and 16 deletions

View File

@@ -832,7 +832,7 @@ void update_benchmark(const char *fmt, ...);
const char *opt_match_per_type_str(const SpecifierOptList *sol,
char mediatype);
void *muxer_thread(void *arg);
void *encoder_thread(void *arg);
int muxer_thread(void *arg);
int encoder_thread(void *arg);
#endif /* FFTOOLS_FFMPEG_H */