You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
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:
@ -675,7 +675,7 @@ static int demux_thread_init(DemuxThreadContext *dt)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void *input_thread(void *arg)
|
||||
static int input_thread(void *arg)
|
||||
{
|
||||
Demuxer *d = arg;
|
||||
InputFile *f = &d->f;
|
||||
@ -780,7 +780,7 @@ static void *input_thread(void *arg)
|
||||
finish:
|
||||
demux_thread_uninit(&dt);
|
||||
|
||||
return (void*)(intptr_t)ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void demux_final_stats(Demuxer *d)
|
||||
|
Reference in New Issue
Block a user