[FFmpeg-devel] [PATCH 2/3] doc/examples: Handle new types in avio_list_dir

Mariusz Szczepańczyk mszczepanczyk at gmail.com
Fri Apr 3 03:54:09 CEST 2015


---
 doc/examples/avio_list_dir.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/examples/avio_list_dir.c b/doc/examples/avio_list_dir.c
index 37b80c5..281b5af 100644
--- a/doc/examples/avio_list_dir.c
+++ b/doc/examples/avio_list_dir.c
@@ -41,6 +41,12 @@ static const char *type_string(int type)
         return "<LINK>";
     case AVIO_ENTRY_SOCKET:
         return "<SOCKET>";
+    case AVIO_ENTRY_SERVER:
+        return "<SERVER>";
+    case AVIO_ENTRY_SHARE:
+        return "<SHARE>";
+    case AVIO_ENTRY_WORKGROUP:
+        return "<WORKGROUP>";
     case AVIO_ENTRY_UNKNOWN:
     default:
         break;
-- 
2.3.3



More information about the ffmpeg-devel mailing list