mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3-arm: eliminate some warnings
This commit is contained in:
@@ -746,8 +746,10 @@ int LinuxDvbSwitch(Context_t *context, char *type)
|
|||||||
free(Encoding);
|
free(Encoding);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
linuxdvb_printf(20, "no context for Audio\n");
|
linuxdvb_printf(20, "no context for Audio\n");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (video && videofd != -1)
|
if (video && videofd != -1)
|
||||||
{
|
{
|
||||||
char *Encoding = NULL;
|
char *Encoding = NULL;
|
||||||
@@ -795,8 +797,10 @@ int LinuxDvbSwitch(Context_t *context, char *type)
|
|||||||
free(Encoding);
|
free(Encoding);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
linuxdvb_printf(20, "no context for Video\n");
|
linuxdvb_printf(20, "no context for Video\n");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
|
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
|
||||||
}
|
}
|
||||||
linuxdvb_printf(10, "exiting\n");
|
linuxdvb_printf(10, "exiting\n");
|
||||||
|
@@ -749,8 +749,10 @@ int LinuxDvbSwitch(Context_t *context, char *type)
|
|||||||
free(Encoding);
|
free(Encoding);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
linuxdvb_printf(20, "no context for Audio\n");
|
linuxdvb_printf(20, "no context for Audio\n");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (video && videofd != -1)
|
if (video && videofd != -1)
|
||||||
{
|
{
|
||||||
char *Encoding = NULL;
|
char *Encoding = NULL;
|
||||||
@@ -798,8 +800,10 @@ int LinuxDvbSwitch(Context_t *context, char *type)
|
|||||||
free(Encoding);
|
free(Encoding);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
linuxdvb_printf(20, "no context for Video\n");
|
linuxdvb_printf(20, "no context for Video\n");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
|
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
|
||||||
}
|
}
|
||||||
linuxdvb_printf(10, "exiting\n");
|
linuxdvb_printf(10, "exiting\n");
|
||||||
|
@@ -117,7 +117,7 @@ static int writeData(void *_call)
|
|||||||
WriterAVCallData_t *call = (WriterAVCallData_t *) _call;
|
WriterAVCallData_t *call = (WriterAVCallData_t *) _call;
|
||||||
unsigned char PesHeader[PES_MAX_HEADER_SIZE + 4];
|
unsigned char PesHeader[PES_MAX_HEADER_SIZE + 4];
|
||||||
unsigned char Version = 5;
|
unsigned char Version = 5;
|
||||||
unsigned int FakeStartCode = (Version << 8) | PES_VERSION_FAKE_START_CODE;
|
// unsigned int FakeStartCode = (Version << 8) | PES_VERSION_FAKE_START_CODE;
|
||||||
divx_printf(10, "\n");
|
divx_printf(10, "\n");
|
||||||
if (call == NULL)
|
if (call == NULL)
|
||||||
{
|
{
|
||||||
|
@@ -83,7 +83,7 @@ if (debug_level >= level) printf("[%s:%s] " fmt, __FILE__, __FUNCTION__, ## x);
|
|||||||
/* Types */
|
/* Types */
|
||||||
/* ***************************** */
|
/* ***************************** */
|
||||||
|
|
||||||
static const unsigned char SequenceLayerStartCode[] = {0x00, 0x00, 0x01, VC1_SEQUENCE_LAYER_METADATA_START_CODE};
|
//static const unsigned char SequenceLayerStartCode[] = {0x00, 0x00, 0x01, VC1_SEQUENCE_LAYER_METADATA_START_CODE};
|
||||||
static const uint8_t Vc1FrameStartCode[] = {0, 0, 1, VC1_FRAME_START_CODE};
|
static const uint8_t Vc1FrameStartCode[] = {0, 0, 1, VC1_FRAME_START_CODE};
|
||||||
|
|
||||||
/* ***************************** */
|
/* ***************************** */
|
||||||
|
Reference in New Issue
Block a user