libeplayer3: get rid of compiler warnings

This commit is contained in:
martii
2013-06-10 15:06:00 +02:00
committed by Stefan Seyfried
parent dd618fc883
commit c3bbda3e9c
32 changed files with 148 additions and 157 deletions

View File

@@ -201,7 +201,7 @@ static int writeData(void* _call)
}
{
int i;
unsigned int i;
/* For VC1 the codec private data is a standard vc1 sequence header so we just copy it to the output */
memcpy (&PesPacket[PES_MIN_HEADER_SIZE], call->private_data, call->private_size);
@@ -218,7 +218,7 @@ static int writeData(void* _call)
}
if(call->len > 0 && call->data) {
int Position = 0;
unsigned int Position = 0;
unsigned char insertSampleHeader = 1;
while(Position < call->len) {
@@ -233,7 +233,6 @@ static int writeData(void* _call)
unsigned char PesHeader[PES_MAX_HEADER_SIZE];
memset (PesHeader, '0', PES_MAX_HEADER_SIZE);
int HeaderLength = InsertPesHeader (PesHeader, PacketLength, VC1_VIDEO_PES_START_CODE, call->Pts, 0);
unsigned char* PacketStart;
if(insertSampleHeader) {
const unsigned char Vc1FrameStartCode[] = {0, 0, 1, VC1_FRAME_START_CODE};