summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-19 23:10:34 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-19 23:10:34 +0000
commit05d90a3edda9c1f5e7499f0ce7b6617fe46ac54d (patch)
tree40c6b693a9d89a2b4e7647f1bd2647cf2442b3e5 /src/lib/util.h
parentd60fd90a6e13c727a05b629c8c4b93d4bf3b717b (diff)
Be more careful with fread in various places.v2.13.88
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index d6fddcdda..f62b2c492 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -98,5 +98,6 @@ extern std::string careful_string_filter (std::string);
extern std::pair<int, int> audio_channel_types (std::list<int> mapped, int channels);
extern boost::shared_ptr<AudioBuffers> remap (boost::shared_ptr<const AudioBuffers> input, int output_channels, AudioMapping map);
extern Eyes increment_eyes (Eyes e);
+extern void checked_fread (void* ptr, size_t size, FILE* stream, boost::filesystem::path path);
#endif