diff mbox

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

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

Commit Message

Andreas Rheinhardt Aug. 13, 2019, 2:47 a.m. UTC
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. UTC | #1
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".
James Almer Jan. 27, 2020, 7:02 p.m. UTC | #2
On 8/14/2019 1:32 PM, Paul B Mahol wrote:
> LGTM

Pushed.

> 
> 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
diff mbox

Patch

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)