mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 17:37:23 +00:00
There are conflicting definitions for DVDFileSeek in the .c and .h file.
Fix ported from libdvdread CVS. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10018 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2fee3f1ec8
commit
8256425d04
@ -872,7 +872,7 @@ ssize_t DVDReadBlocks( dvd_file_t *dvd_file, int offset,
|
|||||||
return (ssize_t)ret;
|
return (ssize_t)ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t DVDFileSeek( dvd_file_t *dvd_file, int32_t offset )
|
int DVDFileSeek( dvd_file_t *dvd_file, int offset )
|
||||||
{
|
{
|
||||||
if( offset > dvd_file->filesize * DVD_VIDEO_LB_LEN ) {
|
if( offset > dvd_file->filesize * DVD_VIDEO_LB_LEN ) {
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user