summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs/libffmpegFLAC/bitstream.h
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-07-31 04:22:03 +0200
committerFranklin Wei <git@fwei.tk>2018-07-30 17:54:51 -0400
commit8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45 (patch)
treec77f8d200851bacd94fd01a4b54a13578cb50a24 /lib/rbcodec/codecs/libffmpegFLAC/bitstream.h
parent210881ca35df0f05a11c2cf88cd73ddab18cff1d (diff)
downloadrockbox-8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45.tar.gz
rockbox-8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45.tar.bz2
rockbox-8f38f85fbde2ae78ba50cf9b9f54fbf9d25b4a45.zip
Workaround for usb_storage_init_connection() panic
For s5l8701, s5l8702 and as3525v2 targets. The crash occurs when USB is inserted or extracted while the playlist is being loaded or updated (it could take a few seconds for huge playlists), at this point all buflib memory is allocated and not freed before usb_starage_init_connection() is executed. This workaround mitigates this panic by using static memory for USB buffers, so this memory cannot be used for other tasks, in addition the problem still persist when playlist load is 'paused' by USB insertion and then updated after USB extraction. Change-Id: Iff1db5a949361fd543e0b494924d1f2906c84b5e
Diffstat (limited to 'lib/rbcodec/codecs/libffmpegFLAC/bitstream.h')
0 files changed, 0 insertions, 0 deletions