diff options
author | uid86226 <none@none> | 2002-09-09 20:47:30 +0000 |
---|---|---|
committer | uid86226 <none@none> | 2002-09-09 20:47:30 +0000 |
commit | 2e28e3d928378e413977d000d3588139ffd324de (patch) | |
tree | 0803421ff602e98c75a306d35691b8c7d3b0f731 /src | |
parent | 76343c1b719954c4d7f190a837cf7385a6a53181 (diff) | |
download | xine-lib-2e28e3d928378e413977d000d3588139ffd324de.tar.gz xine-lib-2e28e3d928378e413977d000d3588139ffd324de.tar.bz2 |
that was a while ago: preserve Jürgen Keil's patch to libdvdread
CVS patchset: 2641
CVS date: 2002/09/09 20:47:30
Diffstat (limited to 'src')
-rw-r--r-- | src/input/libdvdread/diff_against_cvs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/input/libdvdread/diff_against_cvs.patch b/src/input/libdvdread/diff_against_cvs.patch index 237f6753c..5f984ad8c 100644 --- a/src/input/libdvdread/diff_against_cvs.patch +++ b/src/input/libdvdread/diff_against_cvs.patch @@ -200,3 +200,23 @@ uint32_t lbnum; uint16_t TagID; struct Partition partition; +--- src/input/libdvdread/dvd_input.c 8 Aug 2002 17:49:21 -0000 1.1 ++++ src/input/libdvdread/dvd_input.c 4 Sep 2002 16:06:18 -0000 1.2 +@@ -55,7 +55,7 @@ + dvd_input_t dev; + + /* Allocate the handle structure */ +- dev = (dvd_input_t) malloc(sizeof(dvd_input_t)); ++ dev = (dvd_input_t) malloc(sizeof(*dev)); + if(dev == NULL) { + fprintf(stderr, "libdvdread: Could not allocate memory.\n"); + return NULL; +@@ -134,7 +134,7 @@ + dvd_input_t dev; + + /* Allocate the library structure */ +- dev = (dvd_input_t) malloc(sizeof(dvd_input_t)); ++ dev = (dvd_input_t) malloc(sizeof(*dev)); + if(dev == NULL) { + fprintf(stderr, "libdvdread: Could not allocate memory.\n"); + return NULL; |