mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libeplayer3/output/writer/: remove PesHeader memset (both wrong and unneeded)
Origin commit data
------------------
Branch: master
Commit: b3f4ef99a1
Author: martii <m4rtii@gmx.de>
Date: 2013-08-01 (Thu, 01 Aug 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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);
|
||||
|
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user