Re: [FFmpeg-devel] [PATCH 6/7] avcodec/hap: Avoid unnecessary opt.h inclusion

2024-01-25 Thread Andreas Rheinhardt
Vittorio Giovara: > On Wed, Jan 24, 2024 at 9:06 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> It presumably exists because HapContext contains an AVClass*. >> Yet AVClass is actually defined in log.h and even this inclusion >> can be avoided by struct AVClass*. This avoids

Re: [FFmpeg-devel] [PATCH 6/7] avcodec/hap: Avoid unnecessary opt.h inclusion

2024-01-25 Thread Vittorio Giovara
On Wed, Jan 24, 2024 at 9:06 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > It presumably exists because HapContext contains an AVClass*. > Yet AVClass is actually defined in log.h and even this inclusion > can be avoided by struct AVClass*. This avoids opt.h inclusions > in hap.

[FFmpeg-devel] [PATCH 6/7] avcodec/hap: Avoid unnecessary opt.h inclusion

2024-01-24 Thread Andreas Rheinhardt
It presumably exists because HapContext contains an AVClass*. Yet AVClass is actually defined in log.h and even this inclusion can be avoided by struct AVClass*. This avoids opt.h inclusions in hap.c and hapdec.c. Signed-off-by: Andreas Rheinhardt --- libavcodec/hap.h | 5 ++--- li