[Xvid-devel] [PATCH] fix xvid_plg_data_t fields documentation

delthas delthas at dille.cc
Wed May 29 04:58:06 CEST 2019


Hey,

Just a very small patch to the documentation in xvid.h, namely the 
fields bquant_ratio and bquant_offset of struct xvid_plg_data_t which 
are listed as "[in]" (written to by the plugin) but should be "[out]" 
(read by the plugin).

I haven't updated the Changelog since the change is insignificant.

Diff is below.

Thanks,
delthas


Index: xvidcore/src/xvid.h
===================================================================
--- xvidcore/src/xvid.h	(revision 2174)
+++ xvidcore/src/xvid.h	(working copy)
@@ -460,8 +460,8 @@
  	int sse_v;              /* [out] V plane's sse */
  /* End of duplicated data, kept only for binary compatibility */

-	int bquant_ratio;       /* [in] */
-	int bquant_offset;      /* [in] */
+	int bquant_ratio;       /* [out] */
+	int bquant_offset;      /* [out] */

  	xvid_enc_stats_t stats; /* [out] frame statistics */
  } xvid_plg_data_t;


More information about the Xvid-devel mailing list