OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d24c24
)
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 27 Apr 2009 12:38:14 +0000
(12:38 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 27 Apr 2009 12:38:14 +0000
(12:38 +0000)
Originally committed as revision 18703 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
patch
|
blob
|
history
diff --git
a/libavcodec/avcodec.h
b/libavcodec/avcodec.h
index
4217916
..
3ef6a69
100644
(file)
--- 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.
*