Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
e21a40d8
Commit
e21a40d8
authored
Apr 30, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: stream_io_callback simplifications
parent
18dbd3ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
modules/demux/mkv/stream_io_callback.cpp
modules/demux/mkv/stream_io_callback.cpp
+1
-10
modules/demux/mkv/stream_io_callback.hpp
modules/demux/mkv/stream_io_callback.hpp
+2
-2
No files found.
modules/demux/mkv/stream_io_callback.cpp
View file @
e21a40d8
...
...
@@ -75,20 +75,11 @@ void vlc_stream_io_callback::setFilePointer(int64_t i_offset, seek_mode mode )
}
return
;
}
size_t
vlc_stream_io_callback
::
write
(
const
void
*
p_buffer
,
size_t
i_size
)
{
return
0
;
}
uint64
vlc_stream_io_callback
::
getFilePointer
(
void
)
{
if
(
s
==
NULL
)
return
0
;
return
stream_Tell
(
s
);
}
void
vlc_stream_io_callback
::
close
(
void
)
{
return
;
}
modules/demux/mkv/stream_io_callback.hpp
View file @
e21a40d8
...
...
@@ -45,9 +45,9 @@ class vlc_stream_io_callback: public IOCallback
virtual
uint32
read
(
void
*
p_buffer
,
size_t
i_size
);
virtual
void
setFilePointer
(
int64_t
i_offset
,
seek_mode
mode
=
seek_beginning
);
virtual
size_t
write
(
const
void
*
p_buffer
,
size_t
i_size
)
;
virtual
size_t
write
(
const
void
*
p_buffer
,
size_t
i_size
)
{
return
0
;
}
virtual
uint64
getFilePointer
(
void
);
virtual
void
close
(
void
)
;
virtual
void
close
(
void
)
{
return
;
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment