Re: [FFmpeg-devel] [PATCH] avformat/avformat: Avoid including codec.h, frame.h

2023-09-06 Thread Andreas Rheinhardt
Andreas Rheinhardt: > AVCodec is only ever used as an incomplete type (i.e. via a pointer > to an AVCodec) in avformat.h and it is not really part of the core > of avformat.h or libavformat; almost none of our internal users > make use of it (and none make use of hwcontext.h, which is implicitly >

[FFmpeg-devel] [PATCH] avformat/avformat: Avoid including codec.h, frame.h

2023-09-02 Thread Andreas Rheinhardt
AVCodec is only ever used as an incomplete type (i.e. via a pointer to an AVCodec) in avformat.h and it is not really part of the core of avformat.h or libavformat; almost none of our internal users make use of it (and none make use of hwcontext.h, which is implicitly included). So switch to use st