diff options
| author | Nils Wallménius <nils@rockbox.org> | 2011-10-08 10:09:11 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2011-10-08 10:09:11 +0000 |
| commit | e1ea13ee75d545a4a945f5e24b652d8741a675cf (patch) | |
| tree | cf1b6a24aaa2bb4deb6ee8eb770d954fdadaa3ff /apps/codecs/libtremor/ogg.h | |
| parent | b779fcc3ed9adbaf0fda5598f3e26a154f1c1410 (diff) | |
| download | rockbox-e1ea13ee75d545a4a945f5e24b652d8741a675cf.zip rockbox-e1ea13ee75d545a4a945f5e24b652d8741a675cf.tar.gz rockbox-e1ea13ee75d545a4a945f5e24b652d8741a675cf.tar.bz2 rockbox-e1ea13ee75d545a4a945f5e24b652d8741a675cf.tar.xz | |
libtremor: hack to work around huge allocations for the comment packet in files with embedded album art. Should fix playback of such files on targets with large codec buffers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30728 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libtremor/ogg.h')
| -rw-r--r-- | apps/codecs/libtremor/ogg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/libtremor/ogg.h b/apps/codecs/libtremor/ogg.h index 3ded7fc..d3af919 100644 --- a/apps/codecs/libtremor/ogg.h +++ b/apps/codecs/libtremor/ogg.h @@ -227,6 +227,8 @@ extern int ogg_stream_flush(ogg_stream_state *os, ogg_page *og); #endif /* Ogg BITSTREAM PRIMITIVES: decoding **************************/ +extern int _os_body_expand(ogg_stream_state *os,int needed); + extern int ogg_sync_init(ogg_sync_state *oy); extern int ogg_sync_clear(ogg_sync_state *oy); extern int ogg_sync_reset(ogg_sync_state *oy); @@ -241,7 +243,7 @@ extern long ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og); /* extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og); */ -extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og); +extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og, bool copy_body); extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op); extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op); |