diff mbox series

[FFmpeg-devel,04/13] fftools/ffmpeg_mux: drop the of_ prefix from of_submit_packet()

Message ID 20221013134904.10104-4-anton@khirnov.net
State Accepted
Commit 731246ae8fbe14beed6c1a361bfb6963c9f59c51
Headers show
Series [FFmpeg-devel,01/13] fftools/ffmpeg_mux: do not unref a NULL packet | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Oct. 13, 2022, 1:48 p.m. UTC
This function is now static.
---
 fftools/ffmpeg_mux.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

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