aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Paul Saman <jean-paul.saman@m2x.nl>2013-10-30 12:12:03 (GMT)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>2013-10-30 12:12:03 (GMT)
commitcd1ca59f1ded1293a8c70ca1e00d7b6a0e25a4bf (patch)
treecf8118bcb3892cd02d83e6668fc5bdbf468e0ecb
parentbc903a963e2c7d1546c5594742d202b90fc856d7 (diff)
dvbinfo: fix crash in DumpContentDescriptor
-rw-r--r--examples/dvbinfo/libdvbpsi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/dvbinfo/libdvbpsi.c b/examples/dvbinfo/libdvbpsi.c
index 06b7b2d..eee3afc 100644
--- a/examples/dvbinfo/libdvbpsi.c
+++ b/examples/dvbinfo/libdvbpsi.c
@@ -1056,6 +1056,9 @@ static void DumpContentDescriptor(dvbpsi_content_dr_t *p_content_descriptor)
{ DVBPSI_CONTENT_CAT_EDUCATION, "Education" },
{ DVBPSI_CONTENT_CAT_LEISURE, "Leisur" },
{ DVBPSI_CONTENT_CAT_SPECIAL, "Special" },
+ { 0, NULL }, /* 0xc unknown */
+ { 0, NULL }, /* 0xd unknown */
+ { 0, NULL }, /* 0xe unknown */
{ DVBPSI_CONTENT_CAT_USERDEFINED, "User defined" },
{ 0, NULL }
};

Privacy Policy