summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_mux.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-10-11 12:34:31 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-18 13:57:42 +0200
commit731246ae8fbe14beed6c1a361bfb6963c9f59c51 (patch)
treed2d53c125080d6f13bffec06e3d5691216de07e7 /fftools/ffmpeg_mux.c
parenta7028d7fa8b89459681d43a70e69dacda706da72 (diff)
downloadffmpeg-731246ae8fbe14beed6c1a361bfb6963c9f59c51.tar.gz
fftools/ffmpeg_mux: drop the of_ prefix from of_submit_packet()
This function is now static.
Diffstat (limited to 'fftools/ffmpeg_mux.c')
-rw-r--r--fftools/ffmpeg_mux.c6
1 files 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;
}