From fa55addd23c2f168163175aee17adb125c2c0710 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Tue, 23 Feb 2016 19:44:18 -0500 Subject: [PATCH] img2: Drop av_ prefix for a static function This prefix is reserved for public functions only. Signed-off-by: Vittorio Giovara --- libavformat/img2.c | 4 ++-- 1 file 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); }