alac: fixed demuxer mdat/moov parser

(upstream git commit 550488a10db0acfbe149a4910a9a7170da2a770a)
This commit is contained in:
dcoppa 2016-11-04 10:10:47 +00:00
parent 7cd6271959
commit 77a5caf7e3
2 changed files with 24 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.27 2016/10/09 19:04:37 dcoppa Exp $
# $OpenBSD: Makefile,v 1.28 2016/11/04 10:10:47 dcoppa Exp $
COMMENT = DeaDBeeF is an audio player
DISTNAME = deadbeef-0.7.2
REVISION = 0
REVISION = 1
CATEGORIES = audio
HOMEPAGE = http://deadbeef.sourceforge.net/

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-plugins_alac_demux_c,v 1.1 2016/11/04 10:10:47 dcoppa Exp $
commit 550488a10db0acfbe149a4910a9a7170da2a770a
Author: Alexey Yakovenko <wakeroid@gmail.com>
Date: Mon Oct 10 10:45:24 2016 +0200
alac: fixed demuxer mdat/moov parser
--- plugins/alac/demux.c.orig Sun Jun 19 13:26:18 2016
+++ plugins/alac/demux.c Fri Nov 4 11:01:26 2016
@@ -530,9 +530,8 @@ static int read_chunk_moov(qtmovie_t *qtmovie, size_t
read_chunk_iods(qtmovie, sub_chunk_len);
break;
default:
- trace ("(moov) unknown chunk id: %c%c%c%c\n",
- SPLITFOURCC(sub_chunk_id));
- return 0;
+ stream_skip(qtmovie->stream, sub_chunk_len-8);
+ break;
}
size_remaining -= sub_chunk_len;