fftools/ffmpeg_mux: drop the of_ prefix from of_submit_packet()

This function is now static.
This commit is contained in:
Anton Khirnov 2022-10-11 12:34:31 +02:00
parent a7028d7fa8
commit 731246ae8f
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}