[FFmpeg-devel,09/13] avformat/mux: Don't use av_ prefix for static functions

Submitted by Andreas Rheinhardt on Aug. 13, 2019, 2:47 a.m.

Details

Message ID 20190813024726.6596-9-andreas.rheinhardt@gmail.com
State New
Headers show

Commit Message

Andreas Rheinhardt Aug. 13, 2019, 2:47 a.m.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/mux.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Paul B Mahol Aug. 14, 2019, 4:32 p.m.
LGTM

On Tue, Aug 13, 2019 at 4:50 AM Andreas Rheinhardt <
andreas.rheinhardt@gmail.com> wrote:

> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavformat/mux.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/libavformat/mux.c b/libavformat/mux.c
> index efe2e94f40..5b67a793ac 100644
> --- a/libavformat/mux.c
> +++ b/libavformat/mux.c
> @@ -1330,8 +1330,8 @@ int ff_write_chained(AVFormatContext *dst, int
> dst_stream, AVPacket *pkt,
>      return ret;
>  }
>
> -static int av_write_uncoded_frame_internal(AVFormatContext *s, int
> stream_index,
> -                                           AVFrame *frame, int
> interleaved)
> +static int write_uncoded_frame_internal(AVFormatContext *s, int
> stream_index,
> +                                        AVFrame *frame, int interleaved)
>  {
>      AVPacket pkt, *pktp;
>
> @@ -1360,13 +1360,13 @@ static int
> av_write_uncoded_frame_internal(AVFormatContext *s, int stream_index,
>  int av_write_uncoded_frame(AVFormatContext *s, int stream_index,
>                             AVFrame *frame)
>  {
> -    return av_write_uncoded_frame_internal(s, stream_index, frame, 0);
> +    return write_uncoded_frame_internal(s, stream_index, frame, 0);
>  }
>
>  int av_interleaved_write_uncoded_frame(AVFormatContext *s, int
> stream_index,
>                                         AVFrame *frame)
>  {
> -    return av_write_uncoded_frame_internal(s, stream_index, frame, 1);
> +    return write_uncoded_frame_internal(s, stream_index, frame, 1);
>  }
>
>  int av_write_uncoded_frame_query(AVFormatContext *s, int stream_index)
> --
> 2.21.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

Patch hide | download patch | download mbox

diff --git a/libavformat/mux.c b/libavformat/mux.c
index efe2e94f40..5b67a793ac 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -1330,8 +1330,8 @@  int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt,
     return ret;
 }
 
-static int av_write_uncoded_frame_internal(AVFormatContext *s, int stream_index,
-                                           AVFrame *frame, int interleaved)
+static int write_uncoded_frame_internal(AVFormatContext *s, int stream_index,
+                                        AVFrame *frame, int interleaved)
 {
     AVPacket pkt, *pktp;
 
@@ -1360,13 +1360,13 @@  static int av_write_uncoded_frame_internal(AVFormatContext *s, int stream_index,
 int av_write_uncoded_frame(AVFormatContext *s, int stream_index,
                            AVFrame *frame)
 {
-    return av_write_uncoded_frame_internal(s, stream_index, frame, 0);
+    return write_uncoded_frame_internal(s, stream_index, frame, 0);
 }
 
 int av_interleaved_write_uncoded_frame(AVFormatContext *s, int stream_index,
                                        AVFrame *frame)
 {
-    return av_write_uncoded_frame_internal(s, stream_index, frame, 1);
+    return write_uncoded_frame_internal(s, stream_index, frame, 1);
 }
 
 int av_write_uncoded_frame_query(AVFormatContext *s, int stream_index)