[FFmpeg-cvslog] r18703 - trunk/libavcodec/avcodec.h

michael subversion
Mon Apr 27 14:38:15 CEST 2009


Author: michael
Date: Mon Apr 27 14:38:14 2009
New Revision: 18703

Log:
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().

Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	Mon Apr 27 14:36:23 2009	(r18702)
+++ trunk/libavcodec/avcodec.h	Mon Apr 27 14:38:14 2009	(r18703)
@@ -3170,7 +3170,7 @@ attribute_deprecated int avcodec_decode_
 
 /**
  * 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.
  *



More information about the ffmpeg-cvslog mailing list