Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1337)

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 197793005: Convert scoped_ptr_malloc -> scoped_ptr, part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/ffmpeg_glue.h ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder.h
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
index 07cf2be2475eca53e6b2add3fdbaa8b4574a1731..fbd38445ab171a5469e25995dc276debe3d5d099 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -13,6 +13,7 @@
#include "media/base/video_decoder.h"
#include "media/base/video_decoder_config.h"
#include "media/base/video_frame_pool.h"
+#include "media/ffmpeg/ffmpeg_deleters.h"
struct AVCodecContext;
struct AVFrame;
@@ -24,8 +25,6 @@ class SingleThreadTaskRunner;
namespace media {
class DecoderBuffer;
-class ScopedPtrAVFreeContext;
-class ScopedPtrAVFreeFrame;
class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
public:
@@ -81,8 +80,8 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
base::Closure reset_cb_;
// FFmpeg structures owned by this object.
- scoped_ptr_malloc<AVCodecContext, ScopedPtrAVFreeContext> codec_context_;
- scoped_ptr_malloc<AVFrame, ScopedPtrAVFreeFrame> av_frame_;
+ scoped_ptr<AVCodecContext, ScopedPtrAVFreeContext> codec_context_;
+ scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_;
VideoDecoderConfig config_;
« no previous file with comments | « media/filters/ffmpeg_glue.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698