diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-10-18 09:51:51 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-10-18 09:51:51 +0000 |
commit | 22cf8c3ab31d375f13edcbb8d570a4497a0e263c (patch) | |
tree | a0cbc1d9355dba62fa6e21539e90be59f6390edf /media-plugins/vdr-softdevice/files | |
parent | Build with user specified CFLAGS (#240878). (diff) | |
download | gentoo-2-22cf8c3ab31d375f13edcbb8d570a4497a0e263c.tar.gz gentoo-2-22cf8c3ab31d375f13edcbb8d570a4497a0e263c.tar.bz2 gentoo-2-22cf8c3ab31d375f13edcbb8d570a4497a0e263c.zip |
fix build with latest ffmpeg, bug #242070
(Portage version: 2.2_rc12/cvs/Linux 2.6.26.6 x86_64)
Diffstat (limited to 'media-plugins/vdr-softdevice/files')
-rw-r--r-- | media-plugins/vdr-softdevice/files/vdr-softdevice-0.5.0.20080922-offsett.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-plugins/vdr-softdevice/files/vdr-softdevice-0.5.0.20080922-offsett.patch b/media-plugins/vdr-softdevice/files/vdr-softdevice-0.5.0.20080922-offsett.patch new file mode 100644 index 000000000000..2c1824bf96e8 --- /dev/null +++ b/media-plugins/vdr-softdevice/files/vdr-softdevice-0.5.0.20080922-offsett.patch @@ -0,0 +1,35 @@ +Index: softdevice-cvs-20080922/mpeg2decoder.c +=================================================================== +--- softdevice-cvs-20080922.orig/mpeg2decoder.c ++++ softdevice-cvs-20080922/mpeg2decoder.c +@@ -1016,7 +1016,7 @@ static int read_packet_RingBuffer(void * + }; + + #if LIBAVFORMAT_BUILD >4625 +-static offset_t seek_RingBuffer(void *opaque, offset_t offset, int whence) ++static int64_t seek_RingBuffer(void *opaque, int64_t offset, int whence) + #else + static int seek_RingBuffer(void *opaque, offset_t offset, int whence) + #endif +@@ -1135,7 +1135,7 @@ start: + return 0; + }; + +-int cMpeg2Decoder::seek(offset_t offset, int whence) { ++int cMpeg2Decoder::seek(int64_t offset, int whence) { + printf("unimplemented: seek offset %lld whence %d\n", (long long int)offset, whence); + return -EINVAL; + }; +Index: softdevice-cvs-20080922/mpeg2decoder.h +=================================================================== +--- softdevice-cvs-20080922.orig/mpeg2decoder.h ++++ softdevice-cvs-20080922/mpeg2decoder.h +@@ -312,7 +312,7 @@ private: + bool packetMode; + public: + int read_packet(uint8_t *buf, int buf_size); +- int seek(offset_t offset, int whence); ++ int seek(int64_t offset, int whence); + + public: + cMpeg2Decoder(cAudioOut *AudioOut, cVideoOut *VideoOut); |