changeset 9573:c939417a3a39 libavcodec

Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
author michael
date Mon, 27 Apr 2009 12:38:14 +0000
parents b3074f49b078
children e83504a0f279
files avcodec.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Mon Apr 27 12:36:23 2009 +0000
+++ b/avcodec.h	Mon Apr 27 12:38:14 2009 +0000
@@ -3170,7 +3170,7 @@
 
 /**
  * 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.
  *