Skip to content

Commit 2d013b2

Browse files
committed
usb-eyetoy/dshow: ambiguous initializer
1 parent 789671d commit 2d013b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usb-eyetoy/cam-windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void DirectShow::Stop() {
292292
if (FAILED(hr)) throw hr;
293293
}
294294

295-
buffer_t mpeg_buffer = { NULL, 0 };
295+
buffer_t mpeg_buffer {};
296296
std::mutex mpeg_mutex;
297297

298298
void store_mpeg_frame(unsigned char *data, unsigned int len) {

0 commit comments

Comments
 (0)