aboutsummaryrefslogtreecommitdiffstats
path: root/avprobe.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-28 09:10:09 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:46:04 +0200
commite19e8aeeaaff3d4bc8f6065764c93f0298782ac6 (patch)
tree4acf3225ce2695ff1465b933ff305a07613ef3f4 /avprobe.c
parentdc574658d15ad8f171dbdecbdce7197acf9424a0 (diff)
downloadffmpeg-e19e8aeeaaff3d4bc8f6065764c93f0298782ac6.tar.gz
avtools: move media_type_string() from avprobe to cmdutils.
It will be useful outside of avprobe.
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/avprobe.c b/avprobe.c
index 2f15d5ce2a..c410cd269c 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -526,20 +526,6 @@ static char *tag_string(char *buf, int buf_size, int tag)
return buf;
}
-
-
-static const char *media_type_string(enum AVMediaType media_type)
-{
- switch (media_type) {
- case AVMEDIA_TYPE_VIDEO: return "video";
- case AVMEDIA_TYPE_AUDIO: return "audio";
- case AVMEDIA_TYPE_DATA: return "data";
- case AVMEDIA_TYPE_SUBTITLE: return "subtitle";
- case AVMEDIA_TYPE_ATTACHMENT: return "attachment";
- default: return "unknown";
- }
-}
-
static void show_packet(AVFormatContext *fmt_ctx, AVPacket *pkt)
{
char val_str[128];