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

Unified Diff: media/ffmpeg/ffmpeg_deleters.h

Issue 1254953004: Hacking ffvp9 decoder support for profiling. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Supress windows warning Created 4 years, 8 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/ffmpeg/ffmpeg_common.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/ffmpeg/ffmpeg_deleters.h
diff --git a/media/ffmpeg/ffmpeg_deleters.h b/media/ffmpeg/ffmpeg_deleters.h
index 3429e05c7a699d172ae4073171f2e30ad35c1035..255ba243672663796e2911a8c1131d9603710cc6 100644
--- a/media/ffmpeg/ffmpeg_deleters.h
+++ b/media/ffmpeg/ffmpeg_deleters.h
@@ -37,6 +37,12 @@ struct ScopedPtrAVFreeFrame {
void operator()(void* x) const;
};
+// Frees an AVCodecParserContext object in a class that can be passed as a
+// Deleter argument to scoped_ptr_malloc.
+struct ScopedPtrAVFreeParserContext {
+ void operator()(void* x) const;
+};
+
} // namespace media
#endif // MEDIA_FFMPEG_FFMPEG_DELETERS_H_
« no previous file with comments | « media/ffmpeg/ffmpeg_common.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698