Index: media/filters/ffmpeg_glue.h |
diff --git a/media/filters/ffmpeg_glue.h b/media/filters/ffmpeg_glue.h |
index 4e122a6ef550e0498a3fd0e9f4ab3494f6123003..c5aa15c2ad8220dc0e3dfd2a3fcfda9b3ae70edc 100644 |
--- a/media/filters/ffmpeg_glue.h |
+++ b/media/filters/ffmpeg_glue.h |
@@ -41,8 +41,6 @@ class MEDIA_EXPORT FFmpegURLProtocol { |
public: |
FFmpegURLProtocol() {} |
- virtual ~FFmpegURLProtocol() {} |
- |
// Read the given amount of bytes into data, returns the number of bytes read |
// if successful, kReadError otherwise. |
virtual size_t Read(size_t size, uint8* data) = 0; |
@@ -61,6 +59,9 @@ class MEDIA_EXPORT FFmpegURLProtocol { |
// Returns false if this protocol supports random seeking. |
virtual bool IsStreaming() = 0; |
+ protected: |
+ virtual ~FFmpegURLProtocol() {} |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(FFmpegURLProtocol); |
}; |