libeplayer3/output/writer/: remove PesHeader memset (both wrong and unneeded)

This commit is contained in:
martii
2013-08-01 20:35:22 +02:00
parent 5aa75077cd
commit b3f4ef99a1
3 changed files with 0 additions and 4 deletions

View File

@@ -121,8 +121,6 @@ static int writeData(void* _call)
return 0;
}
memset (PesHeader, '0', PES_AUDIO_HEADER_SIZE);
// #define DO_BYTESWAP
#ifdef DO_BYTESWAP
unsigned char *Data = (unsigned char *) malloc(call->len);

View File

@@ -230,7 +230,6 @@ static int writeData(void* _call)
vc1_printf(20, "PacketLength=%d, Remaining=%d, Position=%d\n", PacketLength, Remaining, Position);
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);
if(insertSampleHeader) {

View File

@@ -215,7 +215,6 @@ static int writeData(void* _call)
wmv_printf(20, "PacketLength=%d, Remaining=%d, Position=%d\n", PacketLength, Remaining, Position);
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);
if(insertSampleHeader) {