[FFmpeg-devel] [PATCH 1/2] avformat/url: Reorder elements of URLProtocol to make it smaller

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Tue Jan 26 18:17:27 EET 2021


Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/url.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/url.h b/libavformat/url.h
> index e33edf0cb9..1ef5ca35d5 100644
> --- a/libavformat/url.h
> +++ b/libavformat/url.h
> @@ -87,8 +87,8 @@ typedef struct URLProtocol {
>                                       int *numhandles);
>      int (*url_get_short_seek)(URLContext *h);
>      int (*url_shutdown)(URLContext *h, int flags);
> -    int priv_data_size;
>      const AVClass *priv_data_class;
> +    int priv_data_size;
>      int flags;
>      int (*url_check)(URLContext *h, int mask);
>      int (*url_open_dir)(URLContext *h);
> 
Will apply tomorrow unless there are objections.

- Andreas


More information about the ffmpeg-devel mailing list