diff --git a/README.md b/README.md index 594a64ae9..297aed333 100644 --- a/README.md +++ b/README.md @@ -106,16 +106,12 @@ namespace otio = opentimelineio::OPENTIMELINEIO_VERSION; void main() { - otio::ErrorStatus err; otio::SerializableObject::Retainer tl( dynamic_cast( - otio::Timeline::from_json_file("taco.otio", &err) + otio::Timeline::from_json_file("taco.otio") ) ); - const std::vector> clips = ( - tl->find_clips() - ); - for (const auto& cl : clips) + for (const auto& cl : tl->find_clips()) { otio::RationalTime dur = cl->duration(); std::cout << "Name: " << cl->name() << " [";