gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r12203: Rename amf namespace to cygn


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12203: Rename amf namespace to cygnal where used.
Date: Thu, 27 May 2010 17:30:44 -0600
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12203
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Thu 2010-05-27 17:30:44 -0600
message:
  Rename amf namespace to cygnal where used.
modified:
  utilities/flvdumper.cpp
  utilities/soldumper.cpp
=== modified file 'utilities/flvdumper.cpp'
--- a/utilities/flvdumper.cpp   2010-01-11 06:41:38 +0000
+++ b/utilities/flvdumper.cpp   2010-05-27 23:30:44 +0000
@@ -42,7 +42,7 @@
 #include "buffer.h"
 #include "arg_parser.h"
 
-using namespace amf;
+using namespace cygnal;
 using namespace std;
 using namespace gnash;
 
@@ -195,7 +195,7 @@
        try {
             // Open the binary file
            ifstream ifs(filespec.c_str(), ios::binary);
-           boost::shared_ptr<amf::Buffer> buf(new Buffer);
+           boost::shared_ptr<cygnal::Buffer> buf(new Buffer);
             // Read just the initial 9 byte header
            ifs.read(reinterpret_cast<char *>(buf->reference()), 
sizeof(Flv::flv_header_t));
            log_debug("header is: %s",  hexify(buf->reference(), 9, false));
@@ -279,7 +279,7 @@
                       if (meta || all) {
                           cout << "FLV Tag type is: MetaData" << endl;
                       }
-                      boost::shared_ptr<amf::Element> metadata = 
flv.decodeMetaData(buf->reference(), bodysize);
+                      boost::shared_ptr<cygnal::Element> metadata = 
flv.decodeMetaData(buf->reference(), bodysize);
                       if (meta && metadata) {
                           metadata->dump();
                       }

=== modified file 'utilities/soldumper.cpp'
--- a/utilities/soldumper.cpp   2010-01-11 06:41:38 +0000
+++ b/utilities/soldumper.cpp   2010-05-27 23:30:44 +0000
@@ -195,7 +195,7 @@
         newspec += filespec;
     }
     
-    amf::SOL sol;
+    cygnal::SOL sol;
     
     if (sol.readFile(newspec)) {
         cout << "SOL file \"" << newspec << "\" read in" << endl;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]