gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9954: set the seek pointer when copy


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9954: set the seek pointer when copying data into the buffer.
Date: Sun, 18 Jan 2009 17:57:22 +1100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9954
committer: address@hidden
branch nick: rtmp
timestamp: Sun 2009-01-18 17:57:22 +1100
message:
  set the seek pointer when copying data into the buffer.
modified:
  libamf/buffer.cpp
=== modified file 'libamf/buffer.cpp'
--- a/libamf/buffer.cpp 2009-01-01 19:00:41 +0000
+++ b/libamf/buffer.cpp 2009-01-18 06:57:22 +0000
@@ -200,6 +200,7 @@
 Buffer::copy(boost::uint8_t *data, size_t nbytes)
 {    
 //    GNASH_REPORT_FUNCTION;
+    _seekptr =_data.get();
     if (_data) {
        std::copy(data, data + nbytes, _data.get());
        _seekptr = _data.get() + nbytes;
@@ -503,6 +504,7 @@
 Buffer::operator=(boost::uint8_t byte)
 {
 //    GNASH__FUNCTION;
+   
     return copy(&byte, 1);
 }
 


reply via email to

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