use new for buf, fix possible memlaek

Origin commit data
------------------
Commit: a84ba36e0b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-18 (Tue, 18 Sep 2012)
This commit is contained in:
Jacek Jendrzej
2012-09-18 18:38:03 +02:00
parent de4d59a548
commit 00c1ece964
3 changed files with 34 additions and 22 deletions

View File

@@ -84,7 +84,7 @@ class CStreamInfo2 : public CMenuTarget
uint64_t bit_s;
uint64_t abit_s;
uint64_t b_total;
unsigned char *dmxbuf;
int update_rate();
int ts_setup();
int ts_close();