Skip to content

Commit 087b3be

Browse files
committed
Fix C++ test
1 parent 8217a8b commit 087b3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/VideoDecoderTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class SingleStreamDecoderTest : public testing::TestWithParam<bool> {
5252

5353
void* buffer = content_.data();
5454
size_t length = content_.length();
55-
auto contextHolder = std::make_unique<AVIOBytesContext>(buffer, length);
55+
auto contextHolder = std::make_unique<AVIOFromTensorContext>(buffer, length);
5656
return std::make_unique<SingleStreamDecoder>(
5757
std::move(contextHolder), SingleStreamDecoder::SeekMode::approximate);
5858
} else {

0 commit comments

Comments
 (0)