[FFmpeg-cvslog] doc/examples: Handle new types in avio_list_dir

Mariusz Szczepańczyk git at videolan.org
Fri Apr 3 12:53:13 CEST 2015


ffmpeg | branch: master | Mariusz Szczepańczyk <mszczepanczyk at gmail.com> | Fri Apr  3 03:54:09 2015 +0200| [f10aa0e125c1de24e2b440715e2753abab3f740c] | committer: Michael Niedermayer

doc/examples: Handle new types in avio_list_dir

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f10aa0e125c1de24e2b440715e2753abab3f740c
---

 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;



More information about the ffmpeg-cvslog mailing list