Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
3bbfd302
Commit
3bbfd302
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_LOOP_OUTPUT cruft
parent
6dc34555
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
19 deletions
+0
-19
avformat.h
libavformat/avformat.h
+0
-11
gif.c
libavformat/gif.c
+0
-5
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
3bbfd302
...
@@ -876,17 +876,6 @@ typedef struct AVFormatContext {
...
@@ -876,17 +876,6 @@ typedef struct AVFormatContext {
#endif
#endif
int
max_delay
;
int
max_delay
;
#if FF_API_LOOP_OUTPUT
#define AVFMT_NOOUTPUTLOOP -1
#define AVFMT_INFINITEOUTPUTLOOP 0
/**
* number of times to loop output in formats that support it
*
* @deprecated use the 'loop' private option in the gif muxer.
*/
attribute_deprecated
int
loop_output
;
#endif
int
flags
;
int
flags
;
#define AVFMT_FLAG_GENPTS 0x0001 ///< Generate missing pts even if it requires parsing future frames.
#define AVFMT_FLAG_GENPTS 0x0001 ///< Generate missing pts even if it requires parsing future frames.
#define AVFMT_FLAG_IGNIDX 0x0002 ///< Ignore index.
#define AVFMT_FLAG_IGNIDX 0x0002 ///< Ignore index.
...
...
libavformat/gif.c
View file @
3bbfd302
...
@@ -288,11 +288,6 @@ static int gif_write_header(AVFormatContext *s)
...
@@ -288,11 +288,6 @@ static int gif_write_header(AVFormatContext *s)
return
AVERROR
(
EIO
);
return
AVERROR
(
EIO
);
}
}
#if FF_API_LOOP_OUTPUT
if
(
s
->
loop_output
)
gif
->
loop
=
s
->
loop_output
;
#endif
gif_image_write_header
(
pb
,
width
,
height
,
gif
->
loop
,
NULL
);
gif_image_write_header
(
pb
,
width
,
height
,
gif
->
loop
,
NULL
);
avio_flush
(
s
->
pb
);
avio_flush
(
s
->
pb
);
...
...
libavformat/version.h
View file @
3bbfd302
...
@@ -47,9 +47,6 @@
...
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
* They may change, break or disappear at any time.
*/
*/
#ifndef FF_API_LOOP_OUTPUT
#define FF_API_LOOP_OUTPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_TIMESTAMP
#ifndef FF_API_TIMESTAMP
#define FF_API_TIMESTAMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_TIMESTAMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#endif
...
...
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