gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10806: Fix NetBSD build of ffmpeg m


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10806: Fix NetBSD build of ffmpeg media handler.
Date: Mon, 20 Apr 2009 08:28:02 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10806
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Mon 2009-04-20 08:28:02 +0200
message:
  Fix NetBSD build of ffmpeg media handler.
modified:
  libmedia/ffmpeg/MediaParserFfmpeg.cpp
    ------------------------------------------------------------
    revno: 10805.1.1
    committer: Benjamin Wolsey <address@hidden>
    branch nick: work
    timestamp: Mon 2009-04-20 08:24:16 +0200
    message:
      Fix build for older compilers.
    modified:
      libmedia/ffmpeg/MediaParserFfmpeg.cpp
=== modified file 'libmedia/ffmpeg/MediaParserFfmpeg.cpp'
--- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp     2009-03-13 10:22:20 +0000
+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp     2009-04-20 06:24:16 +0000
@@ -525,7 +525,7 @@
        }
        else if (whence == SEEK_CUR)
        {
-               _stream->seek(_stream->tell() + offset);
+               _stream->seek(_stream->tell() + 
static_cast<std::streamoff>(offset));
                // New position is offset + end of file
        }
        else if (whence == SEEK_END)


reply via email to

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