Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
9b8a3989
Commit
9b8a3989
authored
Jan 11, 2023
by
James Almer
Committed by
Anton Khirnov
Feb 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: remove FF_API_AVIOCONTEXT_WRITTEN
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
add33e37
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
avio.h
libavformat/avio.h
+0
-10
aviobuf.c
libavformat/aviobuf.c
+0
-10
version_major.h
libavformat/version_major.h
+0
-1
No files found.
libavformat/avio.h
View file @
9b8a3989
...
...
@@ -295,16 +295,6 @@ typedef struct AVIOContext {
*/
int
ignore_boundary_point
;
#if FF_API_AVIOCONTEXT_WRITTEN
/**
* @deprecated field utilized privately by libavformat. For a public
* statistic of how many bytes were written out, see
* AVIOContext::bytes_written.
*/
attribute_deprecated
int64_t
written
;
#endif
/**
* Maximum reached position before a backward seek in the write buffer,
* used keeping track of already written data for a later flush.
...
...
libavformat/aviobuf.c
View file @
9b8a3989
...
...
@@ -125,11 +125,6 @@ void ffio_init_context(FFIOContext *ctx,
ctx
->
current_type
=
AVIO_DATA_MARKER_UNKNOWN
;
ctx
->
last_time
=
AV_NOPTS_VALUE
;
ctx
->
short_seek_get
=
NULL
;
#if FF_API_AVIOCONTEXT_WRITTEN
FF_DISABLE_DEPRECATION_WARNINGS
s
->
written
=
0
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
}
AVIOContext
*
avio_alloc_context
(
...
...
@@ -174,11 +169,6 @@ static void writeout(AVIOContext *s, const uint8_t *data, int len)
if
(
s
->
pos
+
len
>
ctx
->
written_output_size
)
{
ctx
->
written_output_size
=
s
->
pos
+
len
;
#if FF_API_AVIOCONTEXT_WRITTEN
FF_DISABLE_DEPRECATION_WARNINGS
s
->
written
=
ctx
->
written_output_size
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
}
}
}
...
...
libavformat/version_major.h
View file @
9b8a3989
...
...
@@ -42,7 +42,6 @@
*
*/
#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 60)
#define FF_API_AVIOCONTEXT_WRITTEN (LIBAVFORMAT_VERSION_MAJOR < 60)
#define FF_HLS_TS_OPTIONS (LIBAVFORMAT_VERSION_MAJOR < 60)
#define FF_API_AVSTREAM_CLASS (LIBAVFORMAT_VERSION_MAJOR > 59)
#define FF_API_GET_END_PTS (LIBAVFORMAT_VERSION_MAJOR < 60)
...
...
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