History

avformat/internal: retire ff_get_frame_filename

It no longer has any users.

Marton Balint committed 1 year ago

Commit a84d0601 parent c31df892 files · +3 −19Browse files

Unified · Split

2 files
  1. libavformat/internal.h +0 −16
  2. libavformat/utils.c +3 −3
libavformat/internal.h+0−16
@@ -624,22 +624,6 @@ void ff_format_set_url(AVFormatContext *s, char *url); · 623 unmodified lines
624624 */
625625 int ff_match_url_ext(const char *url, const char *extensions);
626626
627−/**
628− * Return in 'buf' the path with '%d' replaced by a number.
629− *
630− * Also handles the '%0nd' format where 'n' is the total number
631− * of digits and '%%'.
632− *
633− * @param buf destination buffer
634− * @param buf_size destination buffer size
635− * @param path path with substitution template
636− * @param number the number to substitute
637− * @param flags AV_FRAME_FILENAME_FLAGS_*
638− * @return 0 if OK, -1 on format error
639− */
640−int ff_get_frame_filename(char *buf, int buf_size, const char *path,
641− int64_t number, int flags);
642−
643627 /**
644628 * Return in 'buf' the path with '%d' replaced by a number.
645629 *
libavformat/utils.c+3−3
@@ -334,7 +334,7 @@ fail: · 333 unmodified lines
334334 return AVERROR(EINVAL);
335335 }
336336
337−int ff_get_frame_filename(char *buf, int buf_size, const char *path, int64_t number, int flags)
337+static int get_frame_filename(char *buf, int buf_size, const char *path, int64_t number, int flags)
338338 {
339339 AVBPrint bp;
340340 av_bprint_init_for_buffer(&bp, buf, buf_size);
@@ -343,12 +343,12 @@ int ff_get_frame_filename(char *buf, int buf_size, const char *path, int64_t num · 2 unmodified lines
343343
344344 int av_get_frame_filename2(char *buf, int buf_size, const char *path, int number, int flags)
345345 {
346− return ff_get_frame_filename(buf, buf_size, path, number, flags);
346+ return get_frame_filename(buf, buf_size, path, number, flags);
347347 }
348348
349349 int av_get_frame_filename(char *buf, int buf_size, const char *path, int number)
350350 {
351− return ff_get_frame_filename(buf, buf_size, path, number, 0);
351+ return get_frame_filename(buf, buf_size, path, number, 0);
352352 }
353353
354354 void av_url_split(char *proto, int proto_size,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t