Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
bfb7b011
Commit
bfb7b011
authored
Mar 13, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/ffmpeg/IOContext: allow partial reads
parent
f6a705c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS
NEWS
+2
-0
IOContext.hxx
src/lib/ffmpeg/IOContext.hxx
+2
-2
No files found.
NEWS
View file @
bfb7b011
ver 0.22 (not yet released)
* input
- ffmpeg: allow partial reads
ver 0.21.6 (not yet released)
* protocol
...
...
src/lib/ffmpeg/IOContext.hxx
View file @
bfb7b011
...
...
@@ -71,8 +71,8 @@ public:
}
size_t
Read
(
void
*
buffer
,
size_t
size
)
{
int
result
=
avio_read
(
io_context
,
(
unsigned
char
*
)
buffer
,
size
);
int
result
=
avio_read
_partial
(
io_context
,
(
unsigned
char
*
)
buffer
,
size
);
if
(
result
<
0
)
throw
MakeFfmpegError
(
result
,
"avio_read() failed"
);
...
...
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