Commit 3bbfd302 authored by Anton Khirnov's avatar Anton Khirnov

lavf: remove disabled FF_API_LOOP_OUTPUT cruft

parent 6dc34555
...@@ -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.
......
...@@ -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);
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment