Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
67e21020
Commit
67e21020
authored
17 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
Document a few url_* functions.
Originally committed as revision 12537 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
117a9190
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/avio.h
+25
-0
25 additions, 0 deletions
libavformat/avio.h
with
25 additions
and
0 deletions
libavformat/avio.h
+
25
−
0
View file @
67e21020
...
@@ -207,11 +207,36 @@ void put_tag(ByteIOContext *s, const char *tag);
...
@@ -207,11 +207,36 @@ void put_tag(ByteIOContext *s, const char *tag);
void
put_strz
(
ByteIOContext
*
s
,
const
char
*
buf
);
void
put_strz
(
ByteIOContext
*
s
,
const
char
*
buf
);
/**
* fseek() equivalent for ByteIOContext.
* @return new position or AVERROR.
*/
offset_t
url_fseek
(
ByteIOContext
*
s
,
offset_t
offset
,
int
whence
);
offset_t
url_fseek
(
ByteIOContext
*
s
,
offset_t
offset
,
int
whence
);
/**
* Skip given number of bytes forward.
* @param offset number of bytes
*/
void
url_fskip
(
ByteIOContext
*
s
,
offset_t
offset
);
void
url_fskip
(
ByteIOContext
*
s
,
offset_t
offset
);
/**
* ftell() equivalent for ByteIOContext.
* @return position or AVERROR.
*/
offset_t
url_ftell
(
ByteIOContext
*
s
);
offset_t
url_ftell
(
ByteIOContext
*
s
);
/**
* Gets the filesize.
* @return filesize or AVERROR
*/
offset_t
url_fsize
(
ByteIOContext
*
s
);
offset_t
url_fsize
(
ByteIOContext
*
s
);
/**
* feof() equivalent for ByteIOContext.
* @return non zero if and only if end of file
*/
int
url_feof
(
ByteIOContext
*
s
);
int
url_feof
(
ByteIOContext
*
s
);
int
url_ferror
(
ByteIOContext
*
s
);
int
url_ferror
(
ByteIOContext
*
s
);
int
av_url_read_fpause
(
ByteIOContext
*
h
,
int
pause
);
int
av_url_read_fpause
(
ByteIOContext
*
h
,
int
pause
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment