From d8a44f957556cc708f3e718328a6983544c42d81 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 6 Jun 2013 15:07:28 +0100 Subject: [PATCH] Backport test fix from 1.0. --- test/pixel_formats_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/pixel_formats_test.cc b/test/pixel_formats_test.cc index 84f2a33ce..b788b3219 100644 --- a/test/pixel_formats_test.cc +++ b/test/pixel_formats_test.cc @@ -65,6 +65,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test) f->width = 640; f->height = 480; f->format = static_cast (i->format); + av_frame_get_buffer (f, true); SimpleImage t (f); BOOST_CHECK_EQUAL(t.components(), i->components); BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]); -- 2.30.2