summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;