History

Merge commit 'fa55addd23c2f168163175aee17adb125c2c0710'

* commit 'fa55addd23c2f168163175aee17adb125c2c0710': img2: Drop av_ prefix for a static function

Derek Buitenhuis committed 10 years ago

Commit 8a1c7902 parents 8a6cc30 fa55add1 file · +2 −2Browse files

Unified · Split

libavformat/img2.c+2−2
@@ -81,7 +81,7 @@ const IdStrMap ff_img_tags[] = { · 80 unmodified lines
81 { AV_CODEC_ID_NONE, NULL }81 { AV_CODEC_ID_NONE, NULL }
82};82};
83 83
84static enum AVCodecID av_str2id(const IdStrMap *tags, const char *str)84static enum AVCodecID str2id(const IdStrMap *tags, const char *str)
85{85{
86 str = strrchr(str, '.');86 str = strrchr(str, '.');
87 if (!str)87 if (!str)
@@ -99,5 +99,5 @@ static enum AVCodecID av_str2id(const IdStrMap *tags, const char *str) · 11 unmodified lines
99 99
100enum AVCodecID ff_guess_image2_codec(const char *filename)100enum AVCodecID ff_guess_image2_codec(const char *filename)
101{101{
102 return av_str2id(ff_img_tags, filename);102 return str2id(ff_img_tags, filename);
103}103}

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