diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-08 20:04:18 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-15 22:33:26 +0200 |
| commit | 854e9c66aca4512e1b4e841603aa83a5882c0081 (patch) | |
| tree | ac148e6ac2a13af1fd6dab1aae2a48474c3ff1ef | |
| parent | 21d1c4bb94858baca4f5ff73c3a01f4d81906977 (diff) | |
White space: ffmpeg_stream.cc
| -rw-r--r-- | src/lib/ffmpeg_stream.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ffmpeg_stream.cc b/src/lib/ffmpeg_stream.cc index 0a53b1b3c..5737fcc42 100644 --- a/src/lib/ffmpeg_stream.cc +++ b/src/lib/ffmpeg_stream.cc @@ -34,9 +34,9 @@ LIBDCP_ENABLE_WARNINGS using std::string; -FFmpegStream::FFmpegStream (cxml::ConstNodePtr node) - : name (node->string_child ("Name")) - , _id (node->number_child<int> ("Id")) +FFmpegStream::FFmpegStream(cxml::ConstNodePtr node) + : name(node->string_child("Name")) + , _id(node->number_child<int>("Id")) { } @@ -49,13 +49,13 @@ FFmpegStream::as_xml(xmlpp::Element* root) const } bool -FFmpegStream::uses_index (AVFormatContext const * fc, int index) const +FFmpegStream::uses_index(AVFormatContext const * fc, int index) const { return fc->streams[index]->id == _id; } AVStream * -FFmpegStream::stream (AVFormatContext const * fc) const +FFmpegStream::stream(AVFormatContext const * fc) const { size_t i = 0; while (i < fc->nb_streams) { @@ -65,12 +65,12 @@ FFmpegStream::stream (AVFormatContext const * fc) const ++i; } - DCPOMATIC_ASSERT (false); + DCPOMATIC_ASSERT(false); return 0; } int -FFmpegStream::index (AVFormatContext const * fc) const +FFmpegStream::index(AVFormatContext const * fc) const { size_t i = 0; while (i < fc->nb_streams) { @@ -80,6 +80,6 @@ FFmpegStream::index (AVFormatContext const * fc) const ++i; } - DCPOMATIC_ASSERT (false); + DCPOMATIC_ASSERT(false); return 0; } |
