summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r--libavformat/img2.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c
index fcf7310208..4cfd9eb6ba 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -97,16 +97,6 @@ static enum CodecID av_str2id(const IdStrMap *tags, const char *str)
return CODEC_ID_NONE;
}
-static const char *av_id2str(const IdStrMap *tags, enum CodecID id)
-{
- while (tags->id) {
- if(tags->id == id)
- return tags->str;
- tags++;
- }
- return NULL;
-}
-
/* return -1 if no image found */
static int find_image_range(int *pfirst_index, int *plast_index,
const char *path)