diff mbox

[FFmpeg-devel,3/6] lavf: move avpriv function definition to internal.h

Message ID 20180401023945.42053-3-josh@itanimul.li
State Accepted
Commit 42d26145e9561d0e7cc700b79be9e34caf449ecc
Headers show

Commit Message

Josh Dekker April 1, 2018, 2:39 a.m. UTC
Signed-off-by: Josh de Kock <josh@itanimul.li>
---
 libavdevice/alldevices.c | 1 +
 libavformat/allformats.c | 1 +
 libavformat/avformat.h   | 2 --
 libavformat/internal.h   | 1 +
 4 files changed, 3 insertions(+), 2 deletions(-)

Comments

James Almer April 1, 2018, 3:14 p.m. UTC | #1
On 3/31/2018 11:39 PM, Josh de Kock wrote:
> Signed-off-by: Josh de Kock <josh@itanimul.li>
> ---
>  libavdevice/alldevices.c | 1 +
>  libavformat/allformats.c | 1 +
>  libavformat/avformat.h   | 2 --
>  libavformat/internal.h   | 1 +
>  4 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c
> index ebf95f8a81..adde749ce1 100644
> --- a/libavdevice/alldevices.c
> +++ b/libavdevice/alldevices.c
> @@ -20,6 +20,7 @@
>  
>  #include "config.h"
>  #include "libavutil/thread.h"
> +#include "libavformat/internal.h"
>  #include "avdevice.h"
>  
>  /* devices */
> diff --git a/libavformat/allformats.c b/libavformat/allformats.c
> index cf430a9680..d8d733735a 100644
> --- a/libavformat/allformats.c
> +++ b/libavformat/allformats.c
> @@ -20,6 +20,7 @@
>   */
>  
>  #include "libavutil/thread.h"
> +#include "libavformat/internal.h"
>  #include "avformat.h"
>  #include "rtp.h"
>  #include "rdt.h"
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index ec4e5f45f5..a2fe7c6bb2 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -3060,8 +3060,6 @@ int avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt,
>   */
>  AVRational av_stream_get_codec_timebase(const AVStream *st);
>  
> -
> -void avpriv_register_devices(const AVOutputFormat * const o[], const AVInputFormat * const i[]);
>  /**
>   * @}
>   */
> diff --git a/libavformat/internal.h b/libavformat/internal.h
> index 619063097f..23eb7e8a7c 100644
> --- a/libavformat/internal.h
> +++ b/libavformat/internal.h
> @@ -731,4 +731,5 @@ int ff_unlock_avformat(void);
>   */
>  void ff_format_set_url(AVFormatContext *s, char *url);
>  
> +void avpriv_register_devices(const AVOutputFormat * const o[], const AVInputFormat * const i[]);
>  #endif /* AVFORMAT_INTERNAL_H */

LGTM.
Josh Dekker April 2, 2018, 1:21 a.m. UTC | #2
On 2018/04/01 16:14, James Almer wrote:
> [...]
 >
> LGTM.

Pushed.
diff mbox

Patch

diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c
index ebf95f8a81..adde749ce1 100644
--- a/libavdevice/alldevices.c
+++ b/libavdevice/alldevices.c
@@ -20,6 +20,7 @@ 
 
 #include "config.h"
 #include "libavutil/thread.h"
+#include "libavformat/internal.h"
 #include "avdevice.h"
 
 /* devices */
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index cf430a9680..d8d733735a 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -20,6 +20,7 @@ 
  */
 
 #include "libavutil/thread.h"
+#include "libavformat/internal.h"
 #include "avformat.h"
 #include "rtp.h"
 #include "rdt.h"
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ec4e5f45f5..a2fe7c6bb2 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -3060,8 +3060,6 @@  int avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt,
  */
 AVRational av_stream_get_codec_timebase(const AVStream *st);
 
-
-void avpriv_register_devices(const AVOutputFormat * const o[], const AVInputFormat * const i[]);
 /**
  * @}
  */
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 619063097f..23eb7e8a7c 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -731,4 +731,5 @@  int ff_unlock_avformat(void);
  */
 void ff_format_set_url(AVFormatContext *s, char *url);
 
+void avpriv_register_devices(const AVOutputFormat * const o[], const AVInputFormat * const i[]);
 #endif /* AVFORMAT_INTERNAL_H */