diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-23 19:44:18 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-24 13:56:46 -0500 |
commit | fa55addd23c2f168163175aee17adb125c2c0710 (patch) | |
tree | c2b1048c561633d6bb17312ab8a4720f1c4ea8ad /libavformat/img2.c | |
parent | d6e49096c0c3c10ffb176761b0da150c93bedbf6 (diff) | |
download | ffmpeg-fa55addd23c2f168163175aee17adb125c2c0710.tar.gz |
img2: Drop av_ prefix for a static function
This prefix is reserved for public functions only.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r-- | libavformat/img2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c index 9f462d0c18..3cfc08e161 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -82,7 +82,7 @@ static const IdStrMap img_tags[] = { { AV_CODEC_ID_NONE, NULL } }; -static enum AVCodecID av_str2id(const IdStrMap *tags, const char *str) +static enum AVCodecID str2id(const IdStrMap *tags, const char *str) { str = strrchr(str, '.'); if (!str) @@ -100,5 +100,5 @@ static enum AVCodecID av_str2id(const IdStrMap *tags, const char *str) enum AVCodecID ff_guess_image2_codec(const char *filename) { - return av_str2id(img_tags, filename); + return str2id(img_tags, filename); } |