From e16c73e67ecea3309ea6c404eda002a8703aecbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sat, 6 Mar 2010 23:19:05 +0000
Subject: [PATCH] Move av_read_frame_flush() prototype to lavf/internal.h

Originally committed as revision 22268 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/internal.h | 2 ++
 libavformat/seek.c     | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

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