summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-01 13:25:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-01 13:25:46 +0100
commit7fd9d49ba7fa57629592b1f7064cb12d96984a14 (patch)
tree5e28214b75e917193be3699941069c9bbb43ece4 /cmdutils.h
parentadd7513e64e6db255e30fba544068ed2ab5e7b3e (diff)
parent6b07830a77729fe25c30026feabd53e8c4c5eb9e (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: fate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV avconv_opt, cmdutils: Add missing function parameter Doxygen x86: Move optimization suffix to end of function names Conflicts: cmdutils.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 4624f195e1..74bee61060 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -206,6 +206,8 @@ int show_help(void *optctx, const char *opt, const char *arg);
* Parse the command line arguments.
*
* @param optctx an opaque options context
+ * @param argc number of command line arguments
+ * @param argv values of command line arguments
* @param options Array with the definitions required to interpret every
* option of the form: -option_name [argument]
* @param parse_arg_function Name of the function called to process every
@@ -251,6 +253,8 @@ int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec);
* Create a new options dictionary containing only the options from
* opts which apply to the codec with ID codec_id.
*
+ * @param opts dictionary to place options in
+ * @param codec_id ID of the codec that should be filtered for
* @param s Corresponding format context.
* @param st A stream from s for which the options should be filtered.
* @param codec The particular codec for which the options should be filtered.
@@ -384,6 +388,7 @@ int read_yesno(void);
* Read the file with name filename, and put its content in a newly
* allocated 0-terminated buffer.
*
+ * @param filename file to read from
* @param bufptr location where pointer to buffer is returned
* @param size location where size of buffer is returned
* @return 0 in case of success, a negative value corresponding to an
@@ -416,8 +421,10 @@ FILE *get_preset_file(char *filename, size_t filename_size,
* Realloc array to hold new_size elements of elem_size.
* Calls exit() on failure.
*
+ * @param array array to reallocate
* @param elem_size size in bytes of each element
* @param size new element count will be written here
+ * @param new_size number of elements to place in reallocated array
* @return reallocated array
*/
void *grow_array(void *array, int elem_size, int *size, int new_size);