gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 74106c6ef47f572350f6


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 74106c6ef47f572350f64e2f556a4a0e41575367
Date: Sat, 30 Oct 2010 08:33:41 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  74106c6ef47f572350f64e2f556a4a0e41575367 (commit)
      from  e6c2e4bde0225688447d8579f696dff10ed27e03 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=74106c6ef47f572350f64e2f556a4a0e41575367


commit 74106c6ef47f572350f64e2f556a4a0e41575367
Author: Benjamin Wolsey <address@hidden>
Date:   Sat Oct 30 10:29:12 2010 +0200

    Drop const_cast; it's not needed for min FFmpeg version.

diff --git a/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 
b/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
index 9c5bc17..58d9176 100644
--- a/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
+++ b/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
@@ -362,7 +362,7 @@ VideoDecoderFfmpeg::decode(const boost::uint8_t* input,
     int bytes = 0;    
     // no idea why avcodec_decode_video wants a non-const input...
     avcodec_decode_video(_videoCodecCtx->getContext(), frame, &bytes,
-            const_cast<boost::uint8_t*>(input), input_size);
+            input, input_size);
     
     if (!bytes) {
         log_error("Decoding of a video frame failed");

-----------------------------------------------------------------------

Summary of changes:
 libmedia/ffmpeg/VideoDecoderFfmpeg.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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