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

Unified Diff: services/media/framework_ffmpeg/av_io_context.cc

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
« no previous file with comments | « services/media/framework_ffmpeg/av_io_context.h ('k') | services/media/framework_ffmpeg/av_packet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework_ffmpeg/av_io_context.cc
diff --git a/services/media/framework_ffmpeg/av_io_context.cc b/services/media/framework_ffmpeg/av_io_context.cc
index 2cf48757de42d27182a4611114f818bdae64d56f..6f8ca43aedb513160904cf19d54e9d7b79725aaf 100644
--- a/services/media/framework_ffmpeg/av_io_context.cc
+++ b/services/media/framework_ffmpeg/av_io_context.cc
@@ -29,13 +29,9 @@ AvIoContextPtr AvIoContext::Create(std::shared_ptr<Reader> reader) {
InitFfmpeg();
AVIOContext* result = avio_alloc_context(
- static_cast<unsigned char*>(av_malloc(kBufferSize)),
- kBufferSize,
- 0, // write_flag
- new AvIoContext(reader),
- &Read,
- nullptr,
- &Seek);
+ static_cast<unsigned char*>(av_malloc(kBufferSize)), kBufferSize,
+ 0, // write_flag
+ new AvIoContext(reader), &Read, nullptr, &Seek);
// Ensure FFmpeg only tries to seek when we know how.
result->seekable = reader->CanSeek() ? AVIO_SEEKABLE_NORMAL : 0;
@@ -110,6 +106,5 @@ int64_t AvIoContext::Seek(int64_t offset, int whence) {
return position_;
}
-
-} // namespace media
-} // namespace mojo
+} // namespace media
+} // namespace mojo
« no previous file with comments | « services/media/framework_ffmpeg/av_io_context.h ('k') | services/media/framework_ffmpeg/av_packet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698