Commit 1885c76a authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 4d24c24f
......@@ -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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment