diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-28 00:44:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-28 00:44:36 +0000 |
| commit | d88c2244d4f90d54164fcc856c3ba73809756381 (patch) | |
| tree | 9e330e066c2318ed1b162df6946affc94ee06a81 /src/kdm.cc | |
| parent | 04b4d9f08ee30eb4dc4e62cddc4b332c69d18ac0 (diff) | |
Various test fixes.
Diffstat (limited to 'src/kdm.cc')
| -rw-r--r-- | src/kdm.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -130,8 +130,8 @@ KDM::KDM ( */ apu.authorized_device_info.device_list.push_back ("2jmj7l5rSw0yVb/vlWAYkK/YBwk="); - list<shared_ptr<const Content> > assets = cpl->assets (); - for (list<shared_ptr<const Content> >::iterator i = assets.begin(); i != assets.end(); ++i) { + list<shared_ptr<const Content> > content = cpl->content (); + for (list<shared_ptr<const Content> >::iterator i = content.begin(); i != content.end(); ++i) { /* XXX: non-MXF assets? */ shared_ptr<const MXF> mxf = boost::dynamic_pointer_cast<const MXF> (*i); if (mxf) { @@ -144,7 +144,7 @@ KDM::KDM ( /* AuthenticatedPrivate */ - for (list<shared_ptr<const Content> >::iterator i = assets.begin(); i != assets.end(); ++i) { + for (list<shared_ptr<const Content> >::iterator i = content.begin(); i != content.end(); ++i) { /* XXX: non-MXF assets? */ shared_ptr<const MXF> mxf = boost::dynamic_pointer_cast<const MXF> (*i); if (mxf) { |
