[SCM] libav/experimental: Avoid the use of the modal auxiliary "should" in the AVFilter.query_formats doxy. The doxy expresses what a function does, not what it should do.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:57:01 UTC 2013


The following commit has been merged in the experimental branch:
commit c4d2e41ce4735d603e0ab969a396735da1ac7774
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Thu Jan 7 22:51:06 2010 +0000

    Avoid the use of the modal auxiliary "should" in the
    AVFilter.query_formats doxy.
    The doxy expresses what a function does, not what it should do.
    
    Originally committed as revision 21075 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index a7e061b..92f635d 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -419,11 +419,11 @@ typedef struct AVFilter
     void (*uninit)(AVFilterContext *ctx);
 
     /**
-     * Queries formats supported by the filter and its pads. Should set the
+     * Queries formats supported by the filter and its pads, and sets the
      * in_formats for links connected to its output pads, and out_formats
      * for links connected to its input pads.
      *
-     * Should return zero on success.
+     * Returns zero on success.
      */
     int (*query_formats)(AVFilterContext *);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list