summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-12 03:20:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-12 03:24:19 +0200
commit59db9e69496258f63fae618638a2649cf302d2b6 (patch)
tree794235d49745a8a14c7a766f401c5f226b20c6cf
parent3ecc063322388f03435f7fd47f8e85bea73fd5c2 (diff)
avformat/internal: Fix warning about struct declaration
Moving ffio_open2_wrapper() to internal as it uses AVFormatContext Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/avio_internal.h3
-rw-r--r--libavformat/internal.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index c354771af2..1ed5831e78 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -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 */
diff --git a/libavformat/internal.h b/libavformat/internal.h
index c8d2354820..d665cbdab0 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -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 */