From 194c1219dbe5a28fe4bacfa14cf0a5879734af5d Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sun, 13 Jan 2008 09:34:43 +0000 Subject: 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 --- libmpdemux/mpeg_packetizer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libmpdemux') diff --git a/libmpdemux/mpeg_packetizer.c b/libmpdemux/mpeg_packetizer.c index 6f198abc11..9fa9383407 100644 --- a/libmpdemux/mpeg_packetizer.c +++ b/libmpdemux/mpeg_packetizer.c @@ -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); -- cgit v1.2.3