libdvbv5: use default values if an entry is missing
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 5 Sep 2014 15:49:17 +0000 (12:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 5 Sep 2014 18:18:19 +0000 (15:18 -0300)
commit227257b44c6f0404adef3caec0e7c6526d564ec6
tree1b6611ac408f066ca95fa716104bfe9c9912203e
parent26c5ec318477fbbb57649e263021c62c683f2d32
libdvbv5: use default values if an entry is missing

On optional properties, instead of generating an error, just
use the default value on writing.

Also fixes a bug where it goes past the end of the table, when
a property is not found.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/dvb-file.c