projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c01abd7
)
Backport test fix from 1.0.
author
Carl Hetherington
<cth@carlh.net>
Thu, 6 Jun 2013 14:07:28 +0000
(15:07 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 6 Jun 2013 14:07:28 +0000
(15:07 +0100)
test/pixel_formats_test.cc
patch
|
blob
|
history
diff --git
a/test/pixel_formats_test.cc
b/test/pixel_formats_test.cc
index 84f2a33ce325209614ae519a36a5fc4113104dab..b788b321972f979a7c841dab904f28251aef62e6 100644
(file)
--- 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]);