fix up subject of libav test

This commit is contained in:
nick black 2019-12-06 14:41:49 -05:00
parent 6248714cd0
commit df93b67b4e
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ int widecolor_demo(struct notcurses* nc){
ncspecial_key special; ncspecial_key special;
cell c; cell c;
do{ // (re)draw a screen do{ // (re)draw a screen
ncplane_erase(n); //ncplane_erase(n);
const int rollover = 256 / ((step & 0xff) | ((step & 0xff00) >> 8u) const int rollover = 256 / ((step & 0xff) | ((step & 0xff00) >> 8u)
| ((step & 0xff0000) >> 16u)); | ((step & 0xff0000) >> 16u));
int rollcount = 0; // number of times we've added this step int rollcount = 0; // number of times we've added this step

View File

@ -49,7 +49,7 @@ TEST_F(LibavTest, LoadVideo) {
int averr; int averr;
int dimy, dimx; int dimy, dimx;
ncplane_dim_yx(ncp_, &dimy, &dimx); ncplane_dim_yx(ncp_, &dimy, &dimx);
auto ncv = ncplane_visual_open(ncp_, "../tests/atliens.mkv", &averr); auto ncv = ncplane_visual_open(ncp_, "../tests/bob.mkv", &averr);
EXPECT_EQ(0, averr); EXPECT_EQ(0, averr);
ASSERT_NE(nullptr, ncv); ASSERT_NE(nullptr, ncv);
auto frame = ncvisual_decode(ncv, &averr); auto frame = ncvisual_decode(ncv, &averr);