Commit Graph

13 Commits

Author SHA1 Message Date
Sergi Granell 597dde5cf6
wcap: Prevent fd leak in wcap_decoder_create() fail path
Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-03-31 01:41:45 +02:00
Bryce Harrington 4d25363e4b wcap: Prefer quote form of include for config.h 2015-06-15 13:04:19 -07:00
Bryce Harrington 212018e5f5 wcap: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
Murray Calavera 883ac02d22 Whitespace corrections
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
2015-06-06 12:39:51 -07:00
vivek 6f0907b6d8 wcap: Check for mmap and malloc return value in wcap decode module
Checking for return value in main.c for wcap_decoder_create function
and mmap, malloc return value in wcap_decoder_create function to avoid
crashes

Signed-off-by: vivek <vivek.ellur@samsung.com>
2014-05-06 15:21:27 -07:00
Kristian Høgsberg c7d2c4c147 Add more missing config.h #includes
Now that we use AC_SYS_LARGEFILE, we need to pull in config.h at least
whereever we use mmap().  Fixes at least the test-suite and simple-shm
on 32 bit systems.
2013-08-26 14:59:14 -07:00
Rob Bradford 12a2ff3482 wcap-decode: Close file descriptor when destroying the decoder 2013-07-30 11:03:19 -07:00
Kristian Høgsberg 776a563702 wcap: Add GCC_CFLAGS and fix more compiler warnings 2012-07-23 10:47:34 -04:00
Martin Olsson 9988633f58 wcap: Plug memory leak in wcap_decoder_create() 2012-07-09 17:50:46 -04:00
Kristian Høgsberg 053be42a4e wcap: Compute per-component deltas 2012-05-29 12:15:47 -04:00
Kristian Høgsberg 11374d2a7d wcap: Space out frames according to timestamps 2012-05-25 22:33:35 -04:00
Kristian Høgsberg 2255eb0816 wcap: Support the other pixel format we may write 2012-05-25 21:51:25 -04:00
Kristian Høgsberg 2bcb2fc1fd wcap: Rename wcap-encode to just wcap 2012-05-25 18:03:52 -04:00