Commit 8a1c7902 authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'fa55addd'

* commit 'fa55addd':
  img2: Drop av_ prefix for a static function
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents 8a6cc30b fa55addd
......@@ -81,7 +81,7 @@ const IdStrMap ff_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)
......@@ -99,5 +99,5 @@ static enum AVCodecID av_str2id(const IdStrMap *tags, const char *str)
enum AVCodecID ff_guess_image2_codec(const char *filename)
{
return av_str2id(ff_img_tags, filename);
return str2id(ff_img_tags, filename);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment