summaryrefslogtreecommitdiff
path: root/libavformat/mux_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mux_utils.c')
-rw-r--r--libavformat/mux_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mux_utils.c b/libavformat/mux_utils.c
index 2fa2ab5b0f..8b95fc5e7e 100644
--- a/libavformat/mux_utils.c
+++ b/libavformat/mux_utils.c
@@ -29,6 +29,7 @@
#include "internal.h"
#include "mux.h"
+#if FF_API_GET_END_PTS
int64_t av_stream_get_end_pts(const AVStream *st)
{
if (cffstream(st)->priv_pts) {
@@ -36,6 +37,7 @@ int64_t av_stream_get_end_pts(const AVStream *st)
} else
return AV_NOPTS_VALUE;
}
+#endif
int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id,
int std_compliance)