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

James Almer jamrial at gmail.com
Mon Jan 27 21:02:46 EET 2020


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 at gmail.com> wrote:
> 
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at 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


More information about the ffmpeg-devel mailing list