projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb8edf
)
Whoops; check correct video frame.
read2
author
Carl Hetherington
<cth@carlh.net>
Tue, 31 Jul 2012 11:57:44 +0000
(12:57 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 31 Jul 2012 11:57:44 +0000
(12:57 +0100)
src/picture_asset.cc
patch
|
blob
|
history
diff --git
a/src/picture_asset.cc
b/src/picture_asset.cc
index abf9fcd97e3103ad75cf27c0f517f71845c2e00e..d94561948f897fc34e258816e68681a7072a1d86 100644
(file)
--- a/
src/picture_asset.cc
+++ b/
src/picture_asset.cc
@@
-200,11
+200,11
@@
PictureAsset::equals (shared_ptr<const Asset> other, EqualityFlags flags) const
ASDCP::JP2K::FrameBuffer buffer_B (4 * Kumu::Megabyte);
for (int i = 0; i < _length; ++i) {
- if (ASDCP_FAILURE (reader_A.ReadFrame (
0
, buffer_A))) {
+ if (ASDCP_FAILURE (reader_A.ReadFrame (
i
, buffer_A))) {
throw DCPReadError ("could not read video frame");
}
- if (ASDCP_FAILURE (reader_B.ReadFrame (
0
, buffer_B))) {
+ if (ASDCP_FAILURE (reader_B.ReadFrame (
i
, buffer_B))) {
throw DCPReadError ("could not read video frame");
}