Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Scott Theisen <scott.the.elm@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 6/7] avcodec/internal.h: Move avpriv_find_start_code() to startcode.h
Date: Fri, 4 Feb 2022 14:05:18 -0500
Message-ID: <1bc94f6b-9d13-4773-944d-940ebd3f29e5@gmail.com> (raw)
In-Reply-To: <AM7PR03MB6660BEA32FE21C823B0268458F299@AM7PR03MB6660.eurprd03.prod.outlook.com>

On 2/4/22 10:16, Andreas Rheinhardt wrote:
> This is by definition the appropriate place for it.
> Remove all the now unnecessary libavcodec/internal.h inclusions;
> also remove other unnecessary headers from the affected files.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---

>
> diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> index b19befef21..c7c7323351 100644
> --- a/libavcodec/utils.c
> +++ b/libavcodec/utils.c
> @@ -27,7 +27,6 @@
>   
>   #include "config.h"
>   #include "libavutil/avassert.h"
> -#include "libavutil/avstring.h"
>   #include "libavutil/channel_layout.h"
>   #include "libavutil/intreadwrite.h"
>   #include "libavutil/mem.h"
> @@ -40,12 +39,9 @@
>   #include "thread.h"
>   #include "internal.h"
>   #include "put_bits.h"
> -#include "raw.h"
> +#include "startcode.h"
>   #include <stdlib.h>
> -#include <stdarg.h>
> -#include <stdatomic.h>
>   #include <limits.h>
> -#include <float.h>
>   
>   void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size)
>   {

Shouldn't you also move the definition to startcode.c as well? Then 
utils.c doesn't need startcode.h.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  reply	other threads:[~2022-02-04 19:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 15:14 [FFmpeg-devel] [PATCH 1/7] avcodec/cbs_mpeg2: Remove redundant counter Andreas Rheinhardt
2022-02-04 15:16 ` [FFmpeg-devel] [PATCH 2/7] avcodec/cbs_jpeg: " Andreas Rheinhardt
2022-02-04 15:16 ` [FFmpeg-devel] [PATCH 3/7] avcodec/cbs: Make ff_cbs_insert_unit_data() always append the new unit Andreas Rheinhardt
2022-02-04 15:16 ` [FFmpeg-devel] [PATCH 4/7] avcodec/cbs_mpeg2: Simplify splitting fragment Andreas Rheinhardt
2022-02-04 19:01   ` Scott Theisen
2022-02-05  8:16     ` Scott Theisen
2022-02-04 15:16 ` [FFmpeg-devel] [PATCH 5/7] all: Remove unnecessary libavcodec/internal.h inclusions Andreas Rheinhardt
2022-02-04 15:16 ` [FFmpeg-devel] [PATCH 6/7] avcodec/internal.h: Move avpriv_find_start_code() to startcode.h Andreas Rheinhardt
2022-02-04 19:05   ` Scott Theisen [this message]
2022-02-05  8:04     ` Andreas Rheinhardt
2022-02-04 15:16 ` [FFmpeg-devel] [PATCH 7/7] avcodec/cbs_mpeg2: Use smaller scope for variables Andreas Rheinhardt
2022-02-05  6:36   ` [FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end Scott Theisen
2022-02-07  2:18 ` [FFmpeg-devel] [PATCH 1/7] avcodec/cbs_mpeg2: Remove redundant counter Andreas Rheinhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bc94f6b-9d13-4773-944d-940ebd3f29e5@gmail.com \
    --to=scott.the.elm@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git