]> git.sesse.net Git - ffmpeg/commitdiff
avformat/internal: Fix warning about struct declaration
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 May 2015 01:20:49 +0000 (03:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 May 2015 01:24:19 +0000 (03:24 +0200)
Moving ffio_open2_wrapper() to internal as it uses AVFormatContext

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avio_internal.h
libavformat/internal.h

index c354771af28ddfed8c8ea74c97bda7a27969c27f..1ed5831e788261702429ca01866fae925795fc10 100644 (file)
@@ -157,7 +157,4 @@ int ffio_close_null_buf(AVIOContext *s);
  */
 void ffio_free_dyn_buf(AVIOContext **s);
 
-int ffio_open2_wrapper(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags,
-                       const AVIOInterruptCB *int_cb, AVDictionary **options);
-
 #endif /* AVFORMAT_AVIO_INTERNAL_H */
index c8d2354820042560528954fb9bb816152cc86436..d665cbdab0ff96834cf2993ec1808b924baeba36 100644 (file)
@@ -487,4 +487,7 @@ enum AVWriteUncodedFrameFlags {
  */
 int ff_copy_whitelists(AVFormatContext *dst, AVFormatContext *src);
 
+int ffio_open2_wrapper(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags,
+                       const AVIOInterruptCB *int_cb, AVDictionary **options);
+
 #endif /* AVFORMAT_INTERNAL_H */