aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-05 03:25:52 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-05 03:27:13 +0100
commit6e380cc28f25c80f4a5fab4faa726fbdf90de7f9 (patch)
tree06e1e3d66354dbf3f282150e323ad2eea07dfdfd
parent3adb5f8d8b4006f4188c9c4d6f0925988fadc2f4 (diff)
parent9ecb858775483a76c137e8e1ad45a95e318bca61 (diff)
downloadffmpeg-6e380cc28f25c80f4a5fab4faa726fbdf90de7f9.tar.gz
Merge commit '9ecb858775483a76c137e8e1ad45a95e318bca61'
* commit '9ecb858775483a76c137e8e1ad45a95e318bca61': doxy: Format @code blocks so they render properly Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/dict.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/libavutil/dict.h b/libavutil/dict.h
index 63c830ae14..c23a2d12cb 100644
--- a/libavutil/dict.h
+++ b/libavutil/dict.h
@@ -46,21 +46,21 @@
* entries and finally av_dict_free() to free the dictionary
* and all its contents.
*
- * @code
- * AVDictionary *d = NULL; // "create" an empty dictionary
- * av_dict_set(&d, "foo", "bar", 0); // add an entry
- *
- * char *k = av_strdup("key"); // if your strings are already allocated,
- * char *v = av_strdup("value"); // you can avoid copying them like this
- * av_dict_set(&d, k, v, AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL);
- *
- * AVDictionaryEntry *t = NULL;
- * while (t = av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX)) {
- * <....> // iterate over all entries in d
- * }
- *
- * av_dict_free(&d);
- * @endcode
+ @code
+ AVDictionary *d = NULL; // "create" an empty dictionary
+ AVDictionaryEntry *t = NULL;
+
+ av_dict_set(&d, "foo", "bar", 0); // add an entry
+
+ char *k = av_strdup("key"); // if your strings are already allocated,
+ char *v = av_strdup("value"); // you can avoid copying them like this
+ av_dict_set(&d, k, v, AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL);
+
+ while (t = av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX)) {
+ <....> // iterate over all entries in d
+ }
+ av_dict_free(&d);
+ @endcode
*
*/