summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2012-03-17 19:59:04 +0000
committerphintuka <phintuka>2012-03-17 19:59:04 +0000
commitd3e23c3291fbe7c22e8cd4cfadcbecdf45535f33 (patch)
treeeb92754462f3dfa3fe7eacbf7f2ef1fea70a6b10
parent56fe0511a06a434031f51c15249ec97fb1a4f4ea (diff)
downloadxineliboutput-d3e23c3291fbe7c22e8cd4cfadcbecdf45535f33.tar.gz
xineliboutput-d3e23c3291fbe7c22e8cd4cfadcbecdf45535f33.tar.bz2
removed static
-rw-r--r--frontend.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/frontend.c b/frontend.c
index b414571a..c8b64656 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.97 2012-03-17 19:57:29 phintuka Exp $
+ * $Id: frontend.c,v 1.98 2012-03-17 19:59:04 phintuka Exp $
*
*/
@@ -526,12 +526,12 @@ int cXinelibThread::Play_Mpeg1_PES(const uchar *data1, int len)
bool cXinelibThread::Play_Mpeg2_ES(const uchar *data, int len, int streamID, bool h264)
{
- static uchar hdr_vid[] = {0x00,0x00,0x01,0xe0, 0x00,0x00,0x80,0x00,0x00}; /* mpeg2 */
- static uchar hdr_pts[] = {0x00,0x00,0x01,0xe0, 0x00,0x08,0x80,0x80,
- 0x05,0x00,0x00,0x00, 0x00,0x00}; /* mpeg2 */
- static uchar seq_end[] = {0x00,0x00,0x01,0xe0, 0x00,0x07,0x80,0x00,
- 0x00,
- 0x00,0x00,0x01,SC_SEQUENCE_END}; /* mpeg2 */
+ uchar hdr_vid[] = {0x00,0x00,0x01,0xe0, 0x00,0x00,0x80,0x00,0x00}; /* mpeg2 */
+ uchar hdr_pts[] = {0x00,0x00,0x01,0xe0, 0x00,0x08,0x80,0x80,
+ 0x05,0x00,0x00,0x00, 0x00,0x00}; /* mpeg2 */
+ uchar seq_end[] = {0x00,0x00,0x01,0xe0, 0x00,0x07,0x80,0x00,
+ 0x00,
+ 0x00,0x00,0x01,SC_SEQUENCE_END}; /* mpeg2 */
int todo = len, done = 0, hdrlen = 9/*sizeof(hdr)*/;
uchar *frame = new uchar[PES_CHUNK_SIZE+32];
cPoller p;