diff options
author | roman.artiukhin <bahusdrive@gmail.com> | 2023-08-30 17:00:22 +0300 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-09-06 16:49:23 -0400 |
commit | a190d0ca9c286478d1c36cb30fa6c2515aaa4f9d (patch) | |
tree | e57c2d17b30ef3b76ed5c237f5a319de6b3776a1 | |
parent | ed369e1d475658eccb5eb2221d757e7d66796e90 (diff) | |
download | rockbox-a190d0ca9c.tar.gz rockbox-a190d0ca9c.zip |
Codecs: mp4: Skip unknown chunks
Needed for opening some m4b books (see FS#13049)
Change-Id: Id289451e6b2b8a7ad1f6b9f00ef512ab9692383d
-rw-r--r-- | lib/rbcodec/codecs/libm4a/demux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libm4a/demux.c b/lib/rbcodec/codecs/libm4a/demux.c index e29ecb8339..11534da366 100644 --- a/lib/rbcodec/codecs/libm4a/demux.c +++ b/lib/rbcodec/codecs/libm4a/demux.c @@ -845,7 +845,8 @@ int qtmovie_read(stream_t *file, demux_res_t *demux_res) break; default: //DEBUGF("(top) unknown chunk id: %c%c%c%c\n",SPLITFOURCC(chunk_id)); - return 0; + stream_skip(qtmovie.stream, chunk_len - 8); + break; } } |