moved pes_header from file-static to send_mpeg_pes_packet_ll()

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25704 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2008-01-13 09:34:43 +00:00
parent 1045dcfb00
commit 194c1219db
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,6 @@
#define PES_MAX_SIZE 2048
static unsigned char pes_header[PES_MAX_SIZE];
static const unsigned char ps2_header[] = {
0x00, 0x00, 0x01, 0xba, 0x44, 0x00, 0x04, 0x00,
0x04, 0x01, 0x01, 0x86, 0xa3, 0xf8
@ -54,6 +52,7 @@ send_mpeg_pes_packet_ll(unsigned char *data, int len, int id, uint64_t pts,
int n = 0;
int idx, plen;
int hdr;
unsigned char pes_header[PES_MAX_SIZE];
mp_msg (MSGT_HEADER, MSGL_DBG2,
"MPEG%d PES packet: 0x%x => %lu \n", type, id, pts);