diff options
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c index 78859bc44f..cfb3cb6c82 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -769,7 +769,7 @@ stream_t *open_memory_stream(void *data, int len) static stream_t *open_cache(stream_t *orig, const char *name) { stream_t *cache = new_stream(); - cache->uncached_type = orig->type; + cache->uncached_type = orig->uncached_type; cache->uncached_stream = orig; cache->seekable = true; cache->mode = STREAM_READ; |