mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Dump debug info after dmx is assured to be != NULL.
This commit is contained in:
parent
4ed27bca48
commit
ef59277f48
@ -628,14 +628,14 @@ int real_reader_c::read(generic_packetizer_c *) {
|
||||
}
|
||||
|
||||
dmx = find_demuxer(id);
|
||||
mxverb(4, "real_reader: %u/'%s': timecode = %u\n", dmx->id, ti->fname,
|
||||
timecode);
|
||||
|
||||
if (dmx == NULL) {
|
||||
io->skip(length - 12);
|
||||
return EMOREDATA;
|
||||
}
|
||||
|
||||
mxverb(4, "real_reader: %u/'%s': timecode = %u\n", dmx->id, ti->fname,
|
||||
timecode);
|
||||
|
||||
length -= 12;
|
||||
|
||||
chunk = (unsigned char *)safemalloc(length);
|
||||
|
Loading…
Reference in New Issue
Block a user