summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/ogg.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-10-08 10:09:11 +0000
committerNils Wallménius <nils@rockbox.org>2011-10-08 10:09:11 +0000
commite1ea13ee75d545a4a945f5e24b652d8741a675cf (patch)
treecf1b6a24aaa2bb4deb6ee8eb770d954fdadaa3ff /apps/codecs/libtremor/ogg.h
parentb779fcc3ed9adbaf0fda5598f3e26a154f1c1410 (diff)
downloadrockbox-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.h4
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
230extern int _os_body_expand(ogg_stream_state *os,int needed);
231
230extern int ogg_sync_init(ogg_sync_state *oy); 232extern int ogg_sync_init(ogg_sync_state *oy);
231extern int ogg_sync_clear(ogg_sync_state *oy); 233extern int ogg_sync_clear(ogg_sync_state *oy);
232extern int ogg_sync_reset(ogg_sync_state *oy); 234extern 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/*
242extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og); 244extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og);
243*/ 245*/
244extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og); 246extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og, bool copy_body);
245extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op); 247extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op);
246extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op); 248extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op);
247 249