diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-08-13 21:09:20 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-08-13 21:09:20 +0000 |
commit | 031df7c737eb6e100a2653cd0640c4d66fae2dfe (patch) | |
tree | 6ef712cb88ad71ec6e6bc9561aabea5fe057ecd2 /gst-libs/ext/mplex/multplex.cc | |
parent | c6062bcdd303ba29c1733ea1800f779c1b726c71 (diff) | |
download | gst-plugins-bad-031df7c737eb6e100a2653cd0640c4d66fae2dfe.tar.gz gst-plugins-bad-031df7c737eb6e100a2653cd0640c4d66fae2dfe.tar.bz2 gst-plugins-bad-031df7c737eb6e100a2653cd0640c4d66fae2dfe.zip |
so bug cannot be closed yet
Original commit message from CVS:
Several solaris fixes, see #118473... One issue remaining (see the bug), so bug cannot be closed yet
Diffstat (limited to 'gst-libs/ext/mplex/multplex.cc')
-rw-r--r-- | gst-libs/ext/mplex/multplex.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst-libs/ext/mplex/multplex.cc b/gst-libs/ext/mplex/multplex.cc index dcdc97ba..b7cd02ce 100644 --- a/gst-libs/ext/mplex/multplex.cc +++ b/gst-libs/ext/mplex/multplex.cc @@ -1085,9 +1085,11 @@ OutputStream::OutputDVDPriv2 () { uint8_t *packet_size_field; uint8_t *index; - uint8_t sector_buf[sector_size]; + uint8_t *sector_buf; unsigned int tozero; + sector_buf = new uint8_t[sector_size]; + assert (sector_size == 2048); PS_Stream::BufferSectorHeader (sector_buf, pack_header_ptr, &sys_header, index); PS_Stream::BufferPacketHeader (index, PRIVATE_STR_2, 2, // MPEG 2 @@ -1109,6 +1111,8 @@ OutputStream::OutputDVDPriv2 () PS_Stream::BufferPacketSize (packet_size_field, index); WriteRawSector (sector_buf, sector_size); + + delete sector_buf; } |