[FFmpeg-devel] [PATCH 04/13] fftools/ffmpeg_mux: drop the of_ prefix from of_submit_packet()
Anton Khirnov
anton at khirnov.net
Thu Oct 13 16:48:55 EEST 2022
This function is now static.
---
fftools/ffmpeg_mux.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c
index 7762038b1d..63f63c0852 100644
--- a/fftools/ffmpeg_mux.c
+++ b/fftools/ffmpeg_mux.c
@@ -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;
}
--
2.35.1
More information about the ffmpeg-devel
mailing list