diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-22 20:42:09 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-22 20:42:09 +0000 |
| commit | 21d3f3889ede9bd4b2c48424715e44ad2c405500 (patch) | |
| tree | 720382f460c5e6139f7aedc9f9106ef9a6cb3675 /src/lib/decoder.cc | |
| parent | 9de1a9516f1fad4cc669cb7622b8f2828eddcbf9 (diff) | |
Add -Wextra and fix the warnings.
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 61e63460b..7066b488e 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -57,12 +57,11 @@ Decoder::Decoder (boost::shared_ptr<Film> f, boost::shared_ptr<const DecodeOptio _film_connection = f->Changed.connect (bind (&Decoder::film_changed, this, _1)); } -/** Seek. - * @param p Position as a source timestamp in seconds. +/** Seek to a position as a source timestamp in seconds. * @return true on error. */ bool -Decoder::seek (double p) +Decoder::seek (double) { throw DecodeError ("decoder does not support seek"); } |
