mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
fftools/ffmpeg_mux: drop the of_ prefix from of_submit_packet()
This function is now static.
This commit is contained in:
parent
a7028d7fa8
commit
731246ae8f
@ -319,7 +319,7 @@ static int queue_packet(OutputFile *of, OutputStream *ost, AVPacket *pkt)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int of_submit_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
|
||||
static int submit_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@ -367,12 +367,12 @@ void of_output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int eof)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
ret = of_submit_packet(of, bsf_eof ? NULL : pkt, ost);
|
||||
ret = submit_packet(of, bsf_eof ? NULL : pkt, ost);
|
||||
if (ret < 0)
|
||||
goto mux_fail;
|
||||
}
|
||||
} else {
|
||||
ret = of_submit_packet(of, eof ? NULL : pkt, ost);
|
||||
ret = submit_packet(of, eof ? NULL : pkt, ost);
|
||||
if (ret < 0)
|
||||
goto mux_fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user