From 8407ee9ee91c5d8308a9efe9c40f58cbf36f54ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 16 Apr 2014 09:20:37 +0200 Subject: [PATCH] dvb: Minor code style fix --- gst-libs/gst/mpegts/gst-dvb-descriptor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/mpegts/gst-dvb-descriptor.c b/gst-libs/gst/mpegts/gst-dvb-descriptor.c index f3ac988065..74bd861d98 100644 --- a/gst-libs/gst/mpegts/gst-dvb-descriptor.c +++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.c @@ -1061,8 +1061,9 @@ gst_mpegts_descriptor_parse_dvb_parental_rating (const GstMpegTsDescriptor item->rating = 0; break; } - } else + } else { item->rating = (*data & 0xf) + 3; + } data += 1; }