summaryrefslogtreecommitdiff
path: root/test/pixel_formats_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-03 10:01:36 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-03 10:01:36 +0100
commit3fc3aad8735903ced3dae65f764eb33e3f5b3f11 (patch)
treebe6e5dd91a8c8b07e50a93f835ccff2706907441 /test/pixel_formats_test.cc
parentfdd63a4c9925f0339089dce3a52f0d6ed0d97880 (diff)
Try to fix the filter / AVFrame ownership.
Diffstat (limited to 'test/pixel_formats_test.cc')
-rw-r--r--test/pixel_formats_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pixel_formats_test.cc b/test/pixel_formats_test.cc
index e8ad725ff..84f2a33ce 100644
--- a/test/pixel_formats_test.cc
+++ b/test/pixel_formats_test.cc
@@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test)
f->width = 640;
f->height = 480;
f->format = static_cast<int> (i->format);
- FrameImage t (f, true);
+ SimpleImage t (f);
BOOST_CHECK_EQUAL(t.components(), i->components);
BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]);
BOOST_CHECK_EQUAL(t.lines(1), i->lines[1]);