diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-12 03:20:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-12 03:24:19 +0200 |
commit | 59db9e69496258f63fae618638a2649cf302d2b6 (patch) | |
tree | 794235d49745a8a14c7a766f401c5f226b20c6cf | |
parent | 3ecc063322388f03435f7fd47f8e85bea73fd5c2 (diff) | |
download | ffmpeg-streaming-59db9e69496258f63fae618638a2649cf302d2b6.zip ffmpeg-streaming-59db9e69496258f63fae618638a2649cf302d2b6.tar.gz |
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.h | 3 | ||||
-rw-r--r-- | libavformat/internal.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h index c354771..1ed5831 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 c8d2354..d665cbd 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 */ |