[FFmpeg-cvslog] avcodec/avcodec: Remove unnecessary forward declaration

Andreas Rheinhardt git at videolan.org
Sat Aug 5 11:05:38 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Aug  2 09:13:15 2023 +0200| [7469f2ec0ab31c91b409644867c0e977db50a4b0] | committer: Andreas Rheinhardt

avcodec/avcodec: Remove unnecessary forward declaration

This would only be necessary if this header declared a function
that takes a (pointer to) struct AVCodecContext as parameter.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7469f2ec0ab31c91b409644867c0e977db50a4b0
---

 libavcodec/avcodec.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fe41ecc3c9..b1a7c3069d 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -421,8 +421,6 @@ typedef struct RcOverride{
  */
 #define AV_GET_ENCODE_BUFFER_FLAG_REF (1 << 0)
 
-struct AVCodecInternal;
-
 /**
  * main external API structure.
  * New fields can be added to the end with minor version bumps.



More information about the ffmpeg-cvslog mailing list