]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/avcodec.h
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
[frescor/ffmpeg.git] / libavcodec / avcodec.h
index 42179160b80775f1cb5096e1733994bf0a62e464..3ef6a69bbdcf8e3123456cd0da23a549b182b53e 100644 (file)
@@ -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.
  *