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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sun Jan 24 14:18:19 EET 2021


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);
-- 
2.25.1



More information about the ffmpeg-devel mailing list