More c++ tidying.
[dcpomatic.git] / src / lib / image_decoder.cc
index 15187b11b6aa27ef084e24ea759c27163603194f..d35a0625f01a171c106f1fb89d33108ef2a4dd2e 100644 (file)
@@ -34,7 +34,7 @@
 #include "i18n.h"
 
 using std::cout;
-using boost::shared_ptr;
+using std::shared_ptr;
 using dcp::Size;
 using namespace dcpomatic;
 
@@ -70,7 +70,7 @@ ImageDecoder::pass ()
                        */
                        _image.reset (new J2KImageProxy (path, _image_content->video->size(), pf));
                } else {
-                       _image.reset (new FFmpegImageProxy (path));
+                       _image.reset (new FFmpegImageProxy(path, _image_content->video->range()));
                }
        }