[FFmpeg-devel] [PATCH 01/15] avcodec/dirac: Include used headers directly

Michael Niedermayer michael at niedermayer.cc
Mon Aug 7 03:53:23 EEST 2023


On Mon, Aug 07, 2023 at 02:49:03AM +0200, Michael Niedermayer wrote:
> From: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> 
> Don't include them implicitly via avcodec.h. This avoids
> indirect avcodec.h inclusions in lavc/dirac.c, lavf/oggparsedirac.c,
> and lavf/rtp(dec|enc)_vc2hq.c.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/dirac.c | 3 +++
>  libavcodec/dirac.h | 6 +++++-
>  2 files changed, 8 insertions(+), 1 deletion(-)

This was mistakely sent
i fat fingered a 1 between -5 so it was -15 of git send-email
i couldnt kill the send-mail quickly enough to stop the first mail

sorry

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230807/570f00dc/attachment.sig>


More information about the ffmpeg-devel mailing list