Skip to content

Commit 3b77220

Browse files
committed
vcap/testcard2: remove unused variable
unneeded since generic FPS ind. used
1 parent 0ce208d commit 3b77220

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/video_capture/testcard2.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,6 @@ void * vidcap_testcard2_thread(void *arg)
417417
int prev_y2 = rand() % ((s->desc.height - 96) / 6) * 6;
418418
int down2 = rand() % 2, right2 = rand() % 2;
419419

420-
int stat_count_prev = 0;
421-
422420
gettimeofday(&s->last_audio_time, NULL);
423421
uint32_t *banner = malloc(vc_get_datalen(s->desc.width, BANNER_HEIGHT, RGBA));
424422

@@ -565,7 +563,6 @@ void * vidcap_testcard2_thread(void *arg)
565563
if((++s->count) % ((int) s->desc.fps * 5) == 0) {
566564
s->play_audio_frame = 1;
567565
}
568-
++stat_count_prev;
569566
goto next_frame;
570567
}
571568

0 commit comments

Comments
 (0)