diff --git a/src/opustags.cc b/src/opustags.cc index f3ecd77..635a4ca 100644 --- a/src/opustags.cc +++ b/src/opustags.cc @@ -11,8 +11,6 @@ #include #include -using namespace ot; - const char *version = PROJECT_NAME " version " PROJECT_VERSION "\n"; const char *usage = @@ -180,7 +178,7 @@ int main(int argc, char **argv){ ogg_stream_state os, enc; ogg_page og; ogg_packet op; - opus_tags tags; + ot::opus_tags tags; ogg_sync_init(&oy); char *buf; size_t len; @@ -207,7 +205,7 @@ int main(int argc, char **argv){ // We got a page. // Short-circuit when the relevant packets have been read. if(packet_count >= 2 && out){ - if(write_page(&og, out) == -1){ + if(ot::write_page(&og, out) == -1){ error = "write_page: fwrite error"; break; } @@ -241,7 +239,7 @@ int main(int argc, char **argv){ } } else if(packet_count == 2){ // Comment header - if(parse_tags((char*) op.packet, op.bytes, &tags) == -1){ + if(ot::parse_tags((char*) op.packet, op.bytes, &tags) == -1){ error = "opustags: invalid comment header"; break; } @@ -250,7 +248,7 @@ int main(int argc, char **argv){ else{ int i; for(i=0; i