}
-long long TeletextDecoderVBIEBU::SetStartOffset(long long curreftime, bool *rsync)
+long long TeletextDecoderVBIEBU::SetStartOffset(long long /* curreftime */, bool* /* rsync */)
{
return 0;
}
}
}
-void TeletextDecoderVBIEBU::PrepareMediaSample(const MediaPacketList& mplist, UINT samplepos)
+void TeletextDecoderVBIEBU::PrepareMediaSample(const MediaPacketList& mplist, UINT /* samplepos */)
{
mediapacket = mplist.front();
}
}
// This part is inspired by the vdr-plugin-osdteletext of Udo Richter and Marcel Wiesweg
-void TeletextDecoderVBIEBU::DecodeTeletext(const UCHAR* buffer, unsigned int field) //needs to be exactly 42 byte long!!
+void TeletextDecoderVBIEBU::DecodeTeletext(const UCHAR* buffer, unsigned int /* field */) //needs to be exactly 42 byte long!!
{
UCHAR hdrbuf[5];
- for (int i=0;i<5;i++) hdrbuf[i]=(unhamtab[buffer[2*i]]&0xF) | ((unhamtab[buffer[2*i+1]]&0xF)<< 4);
+ for (int i=0;i<5;i++) hdrbuf[i] = static_cast<UCHAR>( (unhamtab[buffer[2*i]]&0xF) | ((unhamtab[buffer[2*i+1]]&0xF)<< 4) );
int header=hdrbuf[0];
int magazin=header & 0x7;
int line = (header>>3) & 0x1f;
}
// Handle all 'Set-After' spacing codes
- if (ttc>=0x00 && ttc<=0x07) { // Set FG color
+ if (ttc<=0x07) { // Set FG color
if (GraphicCharset) {
// Actual switch from graphics charset
HoldMosaicChar=' ';
switch (scale)
{
case ZoomHorizontal:
- w = area.w; break;
+ w = static_cast<float>(area.w);
+ break;
case ZoomVertical:
- h = area.h; break;
+ h = static_cast<float>(area.h);
+ break;
case ZoomBoth:
- w = area.w;
- h = area.h; break;
+ w = static_cast<float>(area.w);
+ h = static_cast<float>(area.h);
+ break;
case NoZoom:
; // ?