libeplayer3-arm: eliminate some warnings

Origin commit data
------------------
Branch: master
Commit: eb09756a5f
Author: max_10 <max_10@gmx.de>
Date: 2018-01-06 (Sat, 06 Jan 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2018-01-06 22:17:59 +01:00
parent 216ad4a8d3
commit be8625da4f
4 changed files with 12 additions and 4 deletions

View File

@@ -687,7 +687,7 @@ int LinuxDvbPts(Context_t *context __attribute__((unused)), unsigned long long i
return ret;
}
int LinuxDvbGetFrameCount(Context_t *context __attribute__((unused)), unsigned long long int *frameCount)
int LinuxDvbGetFrameCount(Context_t *context __attribute__((unused)), unsigned long long int *frameCount)
{
int ret = cERR_LINUXDVB_NO_ERROR;
return ret;
@@ -746,7 +746,9 @@ int LinuxDvbSwitch(Context_t *context, char *type)
free(Encoding);
}
else
{
linuxdvb_printf(20, "no context for Audio\n");
}
}
if (video && videofd != -1)
{
@@ -795,7 +797,9 @@ int LinuxDvbSwitch(Context_t *context, char *type)
free(Encoding);
}
else
{
linuxdvb_printf(20, "no context for Video\n");
}
}
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
}

View File

@@ -749,7 +749,9 @@ int LinuxDvbSwitch(Context_t *context, char *type)
free(Encoding);
}
else
{
linuxdvb_printf(20, "no context for Audio\n");
}
}
if (video && videofd != -1)
{
@@ -798,7 +800,9 @@ int LinuxDvbSwitch(Context_t *context, char *type)
free(Encoding);
}
else
{
linuxdvb_printf(20, "no context for Video\n");
}
}
releaseLinuxDVBMutex(FILENAME, __FUNCTION__, __LINE__);
}
@@ -898,7 +902,7 @@ static int Write(void *_context, void *_out)
call.FrameScale = out->timeScale;
call.Width = out->width;
call.Height = out->height;
call.InfoFlags = out->infoFlags;
call.InfoFlags = out->infoFlags;
call.Version = 0; // is unsingned char
if (writer->writeData)
{

View File

@@ -117,7 +117,7 @@ static int writeData(void *_call)
WriterAVCallData_t *call = (WriterAVCallData_t *) _call;
unsigned char PesHeader[PES_MAX_HEADER_SIZE + 4];
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");
if (call == NULL)
{

View File

@@ -83,7 +83,7 @@ if (debug_level >= level) printf("[%s:%s] " fmt, __FILE__, __FUNCTION__, ## x);
/* 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};
/* ***************************** */