]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hevc.h
get_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE
[ffmpeg] / libavformat / hevc.h
index f3943420280af7ed7f3a31755a5b29d0960b85a1..03c43bd471046753b522ebb40afa167114273336 100644 (file)
@@ -71,8 +71,8 @@ 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
- *         code in case of failure
+ * @return the amount (in bytes) of data written 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,
                            int *size, int filter_ps, int *ps_count);