mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
In header mode (for raw AAC files), the AAC packetizer would not work at all.
This commit is contained in:
parent
d1ba86b423
commit
079a9c4c15
@ -1,5 +1,9 @@
|
||||
2003-12-03 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: The AAC packetizer was not working if packets
|
||||
were being read from a raw AAC file (it worked fine from MP4 and
|
||||
Matroska files).
|
||||
|
||||
* mkvmerge: bug fix: Avoid deadlocks when parsing broken SPU
|
||||
packets from VobSubs.
|
||||
|
||||
|
@ -64,11 +64,8 @@ unsigned char *aac_packetizer_c::get_aac_packet(unsigned long *header,
|
||||
unsigned char *buf, *src, *packet_buffer;
|
||||
double pims;
|
||||
|
||||
buf = NULL;
|
||||
packet_buffer = byte_buffer.get_buffer();
|
||||
size = byte_buffer.get_size();
|
||||
if (buf == NULL)
|
||||
return NULL;
|
||||
pos = find_aac_header(packet_buffer, size, aacheader, emphasis_present);
|
||||
if (pos < 0)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user