diff --git a/libavformat/internal.h b/libavformat/internal.h index 15f4dd7848..685b550673 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -35,4 +35,6 @@ void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int i void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, int (*compare)(AVFormatContext *, AVPacket *, AVPacket *)); +void av_read_frame_flush(AVFormatContext *s); + #endif /* AVFORMAT_INTERNAL_H */ diff --git a/libavformat/seek.c b/libavformat/seek.c index 3f77b342e3..685cbbfe14 100644 --- a/libavformat/seek.c +++ b/libavformat/seek.c @@ -25,7 +25,6 @@ // NOTE: implementation should be moved here in another patch, to keep patches // separated. -extern void av_read_frame_flush(AVFormatContext *s); /** * helper structure describing keyframe search state of one stream