Bug 1126015 - Mark some functions in FFmpegDataDecoder as override; r=cpearce
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 26 Jan 2015 16:57:08 -0500
changeset 239222 a5c873e1527ae28963d5ba8e86f411946359c1ed
parent 239221 783d0fe2770b5bd177c4efaf34db970849117952
child 239223 17934cf98597980544700323ce132830cfcb03b2
push id489
push usermcmanus@ducksong.com
push dateTue, 27 Jan 2015 01:44:53 +0000
reviewerscpearce
bugs1126015
milestone38.0a1
Bug 1126015 - Mark some functions in FFmpegDataDecoder as override; r=cpearce
dom/media/fmp4/ffmpeg/FFmpegDataDecoder.h
--- a/dom/media/fmp4/ffmpeg/FFmpegDataDecoder.h
+++ b/dom/media/fmp4/ffmpeg/FFmpegDataDecoder.h
@@ -25,19 +25,19 @@ class FFmpegDataDecoder<LIBAV_VER> : pub
 {
 public:
   FFmpegDataDecoder(MediaTaskQueue* aTaskQueue, AVCodecID aCodecID);
   virtual ~FFmpegDataDecoder();
 
   static bool Link();
 
   virtual nsresult Init() MOZ_OVERRIDE;
-  virtual nsresult Input(mp4_demuxer::MP4Sample* aSample) = 0;
+  virtual nsresult Input(mp4_demuxer::MP4Sample* aSample) MOZ_OVERRIDE = 0;
   virtual nsresult Flush() MOZ_OVERRIDE;
-  virtual nsresult Drain() = 0;
+  virtual nsresult Drain() MOZ_OVERRIDE = 0;
   virtual nsresult Shutdown() MOZ_OVERRIDE;
 
 protected:
   AVFrame*        PrepareFrame();
 
   MediaTaskQueue* mTaskQueue;
   AVCodecContext* mCodecContext;
   AVFrame*        mFrame;