summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-27 12:38:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-27 12:38:14 +0000
commit1885c76acf2be8ee2acdb7cb6f79709adcc63117 (patch)
tree5144fff3512db66a42d2e32dfefe7062cd02eb39 /libavcodec/avcodec.h
parent4d24c24fcb37fbc51501224526d4282951e93842 (diff)
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
Originally committed as revision 18703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 42179160b8..3ef6a69bbd 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3170,7 +3170,7 @@ attribute_deprecated int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtit
/**
* Decodes a subtitle message.
- * Returns -1 if error, otherwise returns the number of bytes used.
+ * Returns a negative value on error, otherwise returns the number of bytes used.
* If no subtitle could be decompressed, \p got_sub_ptr is zero.
* Otherwise, the subtitle is stored in \p *sub.
*