test: fix build of v4l encode demo.
authorBastien Nocera <hadess@hadess.net>
Fri, 13 Apr 2012 22:46:23 +0000 (23:46 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 16 Apr 2012 07:28:55 +0000 (09:28 +0200)
commitaa8d1caa96eb2f83f4e24d7a7f400a675f6611d0
tree241a3c337f66d6a396501797ce054c54b2efa62d
parent122e7edccce25ce6104acb74678d0d9bd0a0cbf7
test: fix build of v4l encode demo.

This fixes:
capture.cpp: In function ‘int read_frame()’:
capture.cpp:140:64: error: ‘read’ was not declared in this scope
capture.cpp: In function ‘void init_userp(unsigned int)’:
capture.cpp:431:30: error: ‘getpagesize’ was not declared in this scope
avcenc.cpp:283:26: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
capture.cpp: In function ‘void close_device()’:
capture.cpp:643:24: error: ‘close’ was not declared in this scope

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
test/v4l_h264/encode/capture.cpp