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.tar.gz rockbox-e1ea13ee75d545a4a945f5e24b652d8741a675cf.zip |
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 3ded7fc113..d3af919b85 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); | |||
227 | #endif | 227 | #endif |
228 | /* Ogg BITSTREAM PRIMITIVES: decoding **************************/ | 228 | /* Ogg BITSTREAM PRIMITIVES: decoding **************************/ |
229 | 229 | ||
230 | extern int _os_body_expand(ogg_stream_state *os,int needed); | ||
231 | |||
230 | extern int ogg_sync_init(ogg_sync_state *oy); | 232 | extern int ogg_sync_init(ogg_sync_state *oy); |
231 | extern int ogg_sync_clear(ogg_sync_state *oy); | 233 | extern int ogg_sync_clear(ogg_sync_state *oy); |
232 | extern int ogg_sync_reset(ogg_sync_state *oy); | 234 | 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); | |||
241 | /* | 243 | /* |
242 | extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og); | 244 | extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og); |
243 | */ | 245 | */ |
244 | extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og); | 246 | extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og, bool copy_body); |
245 | extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op); | 247 | extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op); |
246 | extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op); | 248 | extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op); |
247 | 249 | ||