From 162e0f5ad92116d1a4fb740d087da2a152686b73 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 1 Sep 2018 11:56:28 +0200 Subject: stream: remove BD/DVD/CDDA sector size alignment This was possibly needed by libdvdread, and/or old CD drivers on some system. It still works with on-filesystem DVD and BD test images, so this can go. --- stream/stream.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'stream/stream.h') diff --git a/stream/stream.h b/stream/stream.h index c575db4a10..e6a352917a 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -29,7 +29,6 @@ #include "misc/bstr.h" #define STREAM_BUFFER_SIZE 2048 -#define STREAM_MAX_SECTOR_SIZE (8 * 1024) // Max buffer for initial probe. #define STREAM_MAX_BUFFER_SIZE (2 * 1024 * 1024) @@ -137,7 +136,6 @@ typedef struct stream { // Close void (*close)(struct stream *s); - int sector_size; // sector size (seek will be aligned on this size if non 0) int read_chunk; // maximum amount of data to read at once to limit latency unsigned int buf_pos, buf_len; int64_t pos; -- cgit v1.2.3