You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +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:
@ -404,7 +404,7 @@ fail:
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
void *muxer_thread(void *arg)
|
||||
int muxer_thread(void *arg)
|
||||
{
|
||||
Muxer *mux = arg;
|
||||
OutputFile *of = &mux->of;
|
||||
@ -453,7 +453,7 @@ void *muxer_thread(void *arg)
|
||||
finish:
|
||||
mux_thread_uninit(&mt);
|
||||
|
||||
return (void*)(intptr_t)ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int of_streamcopy(OutputFile *of, OutputStream *ost, AVPacket *pkt)
|
||||
|
Reference in New Issue
Block a user