dvb/descriptors: Unify the frequency add logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 13 Jan 2012 14:37:47 +0000 (12:37 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 13 Jan 2012 14:43:15 +0000 (12:43 -0200)
commit06ebce06b5a67f7ce1d1d3555ef9dc68b8f16fb8
treea50fdc0e00f512c4295afbe43b74dde3f8bb8593
parentb506b671ab56fceaff87970c2622e54184f5fc89
dvb/descriptors: Unify the frequency add logic

Instead of copying different versions of the same logic for all
delivery system descriptors, unify into a common place, and
fix the realloc size.

While here, fix another case where the size of the data were
missing for realloc.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/dvb/descriptors.c