]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hevc.h
avdevice: Constify all devices
[ffmpeg] / libavformat / hevc.h
index 1e355cd34ad4e9cc1da46bab4396ce65a42af39a..0f56325c1cda784c0b8476c7c0ce7e460a027307 100644 (file)
@@ -71,8 +71,9 @@ 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 the amount (in bytes) of data written in case of success, a negative
- *         value corresponding to an AVERROR code in case of failure
+ * @return 0 in case of success, a negative value corresponding to an AVERROR
+ *         code in case of failure
+ * @note *buf_out will be treated as uninitialized on input and won't be freed.
  */
 int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out,
                            int *size, int filter_ps, int *ps_count);