gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r10079: write the FLV magic number.


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r10079: write the FLV magic number.
Date: Sat, 28 Mar 2009 18:26:51 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10079
committer: address@hidden
branch nick: rtmp
timestamp: Sat 2009-03-28 18:26:51 -0600
message:
  write the FLV magic number.
modified:
  utilities/rtmpget.cpp
=== modified file 'utilities/rtmpget.cpp'
--- a/utilities/rtmpget.cpp     2009-03-28 23:00:37 +0000
+++ b/utilities/rtmpget.cpp     2009-03-29 00:26:51 +0000
@@ -631,6 +631,7 @@
                        if (!fd) {
                            log_debug("Opening output file %s", filename);
                            fd = open(filename.c_str(), O_WRONLY|O_CREAT, 
S_IRWXU);
+                           write(fd, "FLV", 3);
                        }
                        write(fd, ptr->reference(), ptr->allocated());
                        continue;


reply via email to

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