diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index 3644aa20230a1fae03f2361fbeb5598dcc3787f5..3965412803740083e89060cccacbf88881d9fda4 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -31,7 +31,7 @@ typedef struct AVFilterGraph {
     AVFilterContext **filters;
 
     char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters
-
+    char *resample_lavr_opts;   ///< libavresample options to use for the auto-inserted resample filters
     char *aresample_swr_opts; ///< swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions
 
     /**
@@ -45,7 +45,6 @@ typedef struct AVFilterGraph {
     int sink_links_count;
 
     unsigned disable_auto_convert;
-    char *resample_lavr_opts;   ///< libavresample options to use for the auto-inserted resample filters
 } AVFilterGraph;
 
 /**