From: michael Date: Mon, 27 Apr 2009 12:38:14 +0000 (+0000) Subject: Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2(). X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/ffmpeg.git/commitdiff_plain/e087440ce496592dc6bab57a66337005cd8583cb Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2(). git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18703 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 42179160b..3ef6a69bb 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. *