diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-10 12:26:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-10 12:26:21 +0100 |
| commit | a30100943a7a750a0c26fbcfc841b6ade4ac36c4 (patch) | |
| tree | 7750dd84e637b351a2f4e8d78f633b67e8553d3b /src/lib | |
| parent | 50ce388189f9c930ea0ba80cfb20237cfa464a3f (diff) | |
Fix a few warnings.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 | ||||
| -rw-r--r-- | src/lib/writer.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 785a805f4..d8ee278b3 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -122,7 +122,7 @@ FFmpegDecoder::pass () /* XXX: should we reset _packet.data and size after each *_decode_* call? */ if (_decode_video) { - while (decode_video_packet ()); + while (decode_video_packet ()) {} } if (_ffmpeg_content->audio_stream() && _decode_audio) { diff --git a/src/lib/writer.cc b/src/lib/writer.cc index cbb84a940..6601fb2fe 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -89,7 +89,7 @@ Writer::Writer (shared_ptr<const Film> f, shared_ptr<Job> j) _film->dcp_audio_mxf_filename (), _film->dcp_video_frame_rate (), _film->dcp_audio_channels (), - _film->dcp_audio_frame_rate() + _film->dcp_audio_frame_rate () ) ); |
