diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-06 15:07:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-06 15:07:28 +0100 |
| commit | d8a44f957556cc708f3e718328a6983544c42d81 (patch) | |
| tree | 2fdd37942c323e0c172612c02c834d1a5b286fd6 | |
| parent | c01abd7a9ab8e31acc8a7f1c27841a128d6ae9c7 (diff) | |
Backport test fix from 1.0.
| -rw-r--r-- | test/pixel_formats_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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<int> (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]); |
