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

Unified Diff: services/media/framework_ffmpeg/av_frame.h

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 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
Index: services/media/framework_ffmpeg/av_frame.h
diff --git a/services/media/framework_ffmpeg/av_frame.h b/services/media/framework_ffmpeg/av_frame.h
index 8b02b661d4f1ce66d5f522e8fd00796590246c16..2942b518303b82a9068159093ebcdbf4115c9295 100644
--- a/services/media/framework_ffmpeg/av_frame.h
+++ b/services/media/framework_ffmpeg/av_frame.h
@@ -14,21 +14,17 @@ namespace media {
namespace ffmpeg {
struct AVFrameDeleter {
- inline void operator()(AVFrame* ptr) const {
- av_frame_free(&ptr);
- }
+ inline void operator()(AVFrame* ptr) const { av_frame_free(&ptr); }
};
using AvFramePtr = std::unique_ptr<AVFrame, AVFrameDeleter>;
-struct AvFrame{
- static AvFramePtr Create() {
- return AvFramePtr(av_frame_alloc());
- }
+struct AvFrame {
+ static AvFramePtr Create() { return AvFramePtr(av_frame_alloc()); }
};
} // namespace ffmpeg
} // namespace media
} // namespace mojo
-#endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FRAME_H_
+#endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FRAME_H_
« no previous file with comments | « services/media/framework_ffmpeg/av_format_context.h ('k') | services/media/framework_ffmpeg/av_io_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698