Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-10 02:12:45 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-03-11 15:05:29 +0400
commit186e0ff067c458df4358f57c71504ada26d1b18a (patch)
tree23f900870f0ef33f5d2c279d6c13f5e4291f4c69 /libavformat
parent2642ad9f551d9ea7a7be21524901a0117a156dd2 (diff)
avformat/hevc: Make return codes consistent and more flexible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5d5e2bd86242506a5af4b290b72e1c52f62f7fb6) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hevc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hevc.h b/libavformat/hevc.h
index edf7527aa4..c687f1b1fc 100644
--- a/libavformat/hevc.h
+++ b/libavformat/hevc.h
@@ -71,7 +71,7 @@ int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in,
* or to discard them (non-zero)
* @param ps_count address of the variable where the number of discarded
* parameter set NAL units shall be written, may be NULL
- * @return 0 in case of success, a negative value corresponding to an AVERROR
+ * @return >=0 in case of success, a negative value corresponding to an AVERROR
* code in case of failure
*/
int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out,
@@ -89,7 +89,7 @@ int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out,
* @param size size (in bytes) of the data buffer
* @param ps_array_completeness whether all parameter sets are in the hvcC (1)
* or there may be additional parameter sets in the bitstream (0)
- * @return 0 in case of success, a negative value corresponding to an AVERROR
+ * @return >=0 in case of success, a negative value corresponding to an AVERROR
* code in case of failure
*/
int ff_isom_write_hvcc(AVIOContext *pb, const uint8_t *data,