fix some compiler warnings
[enigma2.git] / lib / service / servicemp3.h
index 1ab4669c40a0707a42edcbe497eb0d822018b448..5b2a3be5c597e54549fcc71cef6551da0cae82f7 100644 (file)
@@ -113,9 +113,12 @@ public:
        struct audioStream
        {
                GstPad* pad;
-               enum { atMP2, atMP3, atAC3, atDTS, atAAC, atPCM, atOGG };
-               int type; // mpeg2, ac3, dts, ...
+               enum { atUnknown, atMP2, atMP3, atAC3, atDTS, atAAC, atPCM, atOGG } type;
                std::string language_code; /* iso-639, if available. */
+               audioStream()
+                       :pad(0), type(atUnknown)
+               {
+               }
        };
        struct subtitleStream
        {