doc/examples: Handle new types in avio_list_dir

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/130/head
Mariusz Szczepańczyk 10 years ago committed by Michael Niedermayer
parent 26e0e393d0
commit f10aa0e125
  1. 6
      doc/examples/avio_list_dir.c

@ -41,6 +41,12 @@ static const char *type_string(int type)
return "<LINK>"; return "<LINK>";
case AVIO_ENTRY_SOCKET: case AVIO_ENTRY_SOCKET:
return "<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: case AVIO_ENTRY_UNKNOWN:
default: default:
break; break;

Loading…
Cancel
Save