-#include "i18n.h"
-
-using boost::shared_ptr;
-
-/** @param f Film.
- * @param o Decode options.
- */
-Decoder::Decoder (shared_ptr<const Film> f)
- : _film (f)
-{
-
-}
-
-shared_ptr<Decoded>
-Decoder::peek ()
-{
- while (_pending.empty () && !pass ()) {}
-
- if (_pending.empty ()) {
- return shared_ptr<Decoded> ();
- }