summaryrefslogtreecommitdiff
path: root/test/y4m_video_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/y4m_video_source.h')
-rw-r--r--test/y4m_video_source.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/y4m_video_source.h b/test/y4m_video_source.h
index 5f03c8b22..89aa2a44f 100644
--- a/test/y4m_video_source.h
+++ b/test/y4m_video_source.h
@@ -10,6 +10,7 @@
#ifndef VPX_TEST_Y4M_VIDEO_SOURCE_H_
#define VPX_TEST_Y4M_VIDEO_SOURCE_H_
#include <algorithm>
+#include <memory>
#include <string>
#include "test/video_source.h"
@@ -108,7 +109,7 @@ class Y4mVideoSource : public VideoSource {
std::string file_name_;
FILE *input_file_;
- testing::internal::scoped_ptr<vpx_image_t> img_;
+ std::unique_ptr<vpx_image_t> img_;
unsigned int start_;
unsigned int limit_;
unsigned int frame_;