aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Paul Saman <jean-paul.saman@m2x.nl>2013-10-30 12:12:03 (GMT)
committerJean-Paul Saman <jpsaman@videolan.org>2013-11-05 08:00:10 (GMT)
commitd7ef1862e8bde65015cb87adabf7e9976c5f9008 (patch)
treec0277d395eaf79f0369b6c29ab3c825a7d1c82b3
parent613500a3ad95086b710ff6d9d869f271c9f06321 (diff)
dvbinfo: fix crash in DumpContentDescriptor
(cherry picked from commit cd1ca59f1ded1293a8c70ca1e00d7b6a0e25a4bf) Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
-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 9f4551c..508bc83 100644
--- a/examples/dvbinfo/libdvbpsi.c
+++ b/examples/dvbinfo/libdvbpsi.c
@@ -1046,6 +1046,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