Skip to content

Commit

Permalink
Don't initialize in header so there aren't multiple instances floatin…
Browse files Browse the repository at this point in the history
…g around.
  • Loading branch information
peplin committed Feb 27, 2013
1 parent 2c0a0e4 commit 8440c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android-webcam-library/jni/video_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ typedef struct {
size_t length;
} buffer;

static unsigned int BUFFER_COUNT = 0;
static buffer* FRAME_BUFFERS = NULL;
unsigned int BUFFER_COUNT;
buffer* FRAME_BUFFERS;

/* Private: Open the video device at the named device node.
*
Expand Down

0 comments on commit 8440c46

Please sign in to comment.