xc3082: Fix use after free in free_firmware()

Detected by Coverity Scanner.

CC: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
libdvbv5: Fix reallocation in parse_lcn

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
rds-ctl: Always terminate strings properly

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
libdvbv5: Fix copy and paste error in parse_service()

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
CC: André Roth <neolynx@gmail.com>
libv4lconvert: Avoid division by 0 if gamma value is corrupted

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Hans de Goede <hdegoede@redhat.com>
pixfmt-test: Explicitely mention fall-through

Spotted by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
v4l2-ctl: Do not read past end of num_planes array

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Hans Verkuil <hverkuil@xs4all.nl>
libv4lconvert: Fix resource leak in sq905 error path

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Hans de Goede <hdegoede@redhat.com>
xc3028: Remove duplicate const

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
libdvbv5: Actually check for lock

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
libdvbv5: Free all memory in read_dvb_file error path

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
libdvbv5: Free all memory in parse_format_oneline error path

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
libdvbv5: Free tbl in dvb_read_section_with_id error paths

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
libdvbv5: Properly free temporary variables at end of parse_string

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <mchehab@infradead.org>
libdvbv5: Remove dead code in read_dvb_file.

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
v4l2-ctl: (*XX).Foo -> XX->Foo

When possible we should try to use the simpler C++ construct.
XX->Foo is simpler than (*XX).Foo.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Change Readme and Copying suffix from lib to libv4l

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Prepare for 1.0.0 release

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Start v4l-utils 1.1.x development branch

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
qv4l2: move function ctrlEvent

Moved the ctrlEvent() function in qv4l2.cpp to be grouped with GUI function
and to group capFrame() and capVbiFrame() together.

Signed-off-by: Bård Eirik Winther <bwinther@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>