1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../vdr-softdevice/hotfix-offset_t.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Index: softdevice-cvs-20080922/mpeg2decoder.c
18 ===================================================================
19 --- softdevice-cvs-20080922.orig/mpeg2decoder.c
20 +++ softdevice-cvs-20080922/mpeg2decoder.c
21 @@ -1016,7 +1016,7 @@ static int read_packet_RingBuffer(void *
24 #if LIBAVFORMAT_BUILD >4625
25 -static offset_t seek_RingBuffer(void *opaque, offset_t offset, int whence)
26 +static int64_t seek_RingBuffer(void *opaque, int64_t offset, int whence)
28 static int seek_RingBuffer(void *opaque, offset_t offset, int whence)
30 @@ -1135,7 +1135,7 @@ start:
34 -int cMpeg2Decoder::seek(offset_t offset, int whence) {
35 +int cMpeg2Decoder::seek(int64_t offset, int whence) {
36 printf("unimplemented: seek offset %lld whence %d\n", (long long int)offset, whence);
39 Index: softdevice-cvs-20080922/mpeg2decoder.h
40 ===================================================================
41 --- softdevice-cvs-20080922.orig/mpeg2decoder.h
42 +++ softdevice-cvs-20080922/mpeg2decoder.h
43 @@ -312,7 +312,7 @@ private:
46 int read_packet(uint8_t *buf, int buf_size);
47 - int seek(offset_t offset, int whence);
48 + int seek(int64_t offset, int whence);
51 cMpeg2Decoder(cAudioOut *AudioOut, cVideoOut *VideoOut);