diff mbox

[FFmpeg-devel,02/14] avformat/assdec: Remove unnecessary header

Message ID 20191025180746.13725-2-andreas.rheinhardt@gmail.com
State New
Headers show

Commit Message

Andreas Rheinhardt Oct. 25, 2019, 6:07 p.m. UTC
libavcodec/internal.h has been included since 36e61e24/67286fa9 for
avpriv_bprint_to_extradata(). The latter function has been replaced
by ff_bprint_to_codecpar_extradata() in 6f69f7a8, making the header
superfluous.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/assdec.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andreas Rheinhardt April 8, 2020, 7:06 a.m. UTC | #1
Andreas Rheinhardt:
> libavcodec/internal.h has been included since 36e61e24/67286fa9 for
> avpriv_bprint_to_extradata(). The latter function has been replaced
> by ff_bprint_to_codecpar_extradata() in 6f69f7a8, making the header
> superfluous.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavformat/assdec.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavformat/assdec.c b/libavformat/assdec.c
> index f66b296673..2e7d100a5b 100644
> --- a/libavformat/assdec.c
> +++ b/libavformat/assdec.c
> @@ -25,7 +25,6 @@
>  #include "avformat.h"
>  #include "internal.h"
>  #include "subtitles.h"
> -#include "libavcodec/internal.h"
>  #include "libavutil/bprint.h"
>  
>  typedef struct ASSContext {
> 
Ping for the rest of this patchset.

- Andreas
diff mbox

Patch

diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index f66b296673..2e7d100a5b 100644
--- a/libavformat/assdec.c
+++ b/libavformat/assdec.c
@@ -25,7 +25,6 @@ 
 #include "avformat.h"
 #include "internal.h"
 #include "subtitles.h"
-#include "libavcodec/internal.h"
 #include "libavutil/bprint.h"
 
 typedef struct ASSContext {