Fix build.
authorCarl Hetherington <cth@carlh.net>
Sun, 25 Aug 2013 11:36:12 +0000 (12:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 25 Aug 2013 11:36:12 +0000 (12:36 +0100)
src/lib/player.cc

index 8a37cb835e672d92476468eea7784f5e24aad5cf..70d6fa8773a445977da35edd2d2b286a042221dd 100644 (file)
@@ -254,7 +254,7 @@ Player::process_video (weak_ptr<Piece> weak_piece, shared_ptr<const Image> image
        /* Convert to RGB first, as FFmpeg doesn't seem to like handling YUV images with odd widths */
        shared_ptr<Image> work_image = image->scale (image->size (), _film->scaler(), PIX_FMT_RGB24, true);
 
-       shared_ptr<Image> work_image = work_image->crop (content->crop(), true);
+       work_image = work_image->crop (content->crop(), true);
 
        libdcp::Size const image_size = content->ratio()->size (_video_container_size);