libdvbv5: fix extension descriptor handler
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 27 Nov 2013 21:11:33 +0000 (19:11 -0200)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 27 Nov 2013 21:11:33 +0000 (19:11 -0200)
commitbc58f5b76c3235c17b80bf6919b947e4d2b83716
tree24d99b8f9c812215b09aecf3aa3a4b24cc9bd807
parent5437edb44121b0d2b3e49568c0fb6b0743a09edb
libdvbv5: fix extension descriptor handler

There are several issues at the extension handler:

1) the size is wrong, as it is getting data from
   descriptors.c, instead of from the extensions;

2) there are memory leaks;

3) It doesn't print the extension descriptors.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/include/descriptors/desc_extension.h
lib/libdvbv5/descriptors.c
lib/libdvbv5/descriptors/desc_extension.c