summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/alsa-audio.h6
-rw-r--r--libavdevice/avdevice.h6
-rw-r--r--libavdevice/x11grab.c10
3 files changed, 11 insertions, 11 deletions
diff --git a/libavdevice/alsa-audio.h b/libavdevice/alsa-audio.h
index 9a8a089ba6..a90d5e780a 100644
--- a/libavdevice/alsa-audio.h
+++ b/libavdevice/alsa-audio.h
@@ -50,7 +50,7 @@ typedef struct {
} AlsaData;
/**
- * Opens an ALSA PCM.
+ * Open an ALSA PCM.
*
* @param s media file handle
* @param mode either SND_PCM_STREAM_CAPTURE or SND_PCM_STREAM_PLAYBACK
@@ -68,7 +68,7 @@ int ff_alsa_open(AVFormatContext *s, snd_pcm_stream_t mode,
int channels, enum CodecID *codec_id);
/**
- * Closes the ALSA PCM.
+ * Close the ALSA PCM.
*
* @param s1 media file handle
*
@@ -77,7 +77,7 @@ int ff_alsa_open(AVFormatContext *s, snd_pcm_stream_t mode,
int ff_alsa_close(AVFormatContext *s1);
/**
- * Tries to recover from ALSA buffer underrun.
+ * Try to recover from ALSA buffer underrun.
*
* @param s1 media file handle
* @param err error code reported by the previous ALSA call
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
index dcd835cb1d..b9c0fd7b83 100644
--- a/libavdevice/avdevice.h
+++ b/libavdevice/avdevice.h
@@ -34,17 +34,17 @@
#define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT
/**
- * Returns the LIBAVDEVICE_VERSION_INT constant.
+ * Return the LIBAVDEVICE_VERSION_INT constant.
*/
unsigned avdevice_version(void);
/**
- * Returns the libavdevice build-time configuration.
+ * Return the libavdevice build-time configuration.
*/
const char *avdevice_configuration(void);
/**
- * Returns the libavdevice license.
+ * Return the libavdevice license.
*/
const char *avdevice_license(void);
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index 0c4e0c461a..63dc0f74f2 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -71,7 +71,7 @@ struct x11_grab
};
/**
- * Initializes the x11 grab device demuxer (public device demuxer API).
+ * Initialize the x11 grab device demuxer (public device demuxer API).
*
* @param s1 Context from avformat core
* @param ap Parameters from avformat core
@@ -238,7 +238,7 @@ x11grab_read_header(AVFormatContext *s1, AVFormatParameters *ap)
}
/**
- * Paints a mouse pointer in an X11 image.
+ * Paint a mouse pointer in an X11 image.
*
* @param image image to paint the mouse pointer to
* @param s context used to retrieve original grabbing rectangle
@@ -288,7 +288,7 @@ paint_mouse_pointer(XImage *image, struct x11_grab *s)
/**
- * Reads new data in the image structure.
+ * Read new data in the image structure.
*
* @param dpy X11 display to grab from
* @param d
@@ -335,7 +335,7 @@ xget_zpixmap(Display *dpy, Drawable d, XImage *image, int x, int y)
}
/**
- * Grabs a frame from x11 (public device demuxer API).
+ * Grab a frame from x11 (public device demuxer API).
*
* @param s1 Context from avformat core
* @param pkt Packet holding the brabbed frame
@@ -398,7 +398,7 @@ x11grab_read_packet(AVFormatContext *s1, AVPacket *pkt)
}
/**
- * Closes x11 frame grabber (public device demuxer API).
+ * Close x11 frame grabber (public device demuxer API).
*
* @param s1 Context from avformat core
* @return 0 success, !0 failure