summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-09-01 11:56:28 +0200
committerwm4 <wm4@nowhere>2019-09-13 17:32:05 +0200
commit162e0f5ad92116d1a4fb740d087da2a152686b73 (patch)
tree6594a87f78ec971c93b297ec8477377ff305ad4c /stream/stream.h
parenta9d83eac40c94f44d19fab7b6955331f10efe301 (diff)
downloadmpv-162e0f5ad92116d1a4fb740d087da2a152686b73.tar.bz2
mpv-162e0f5ad92116d1a4fb740d087da2a152686b73.tar.xz
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.
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h2
1 files changed, 0 insertions, 2 deletions
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;