Re: [FFmpeg-devel] [PATCH] avcodec: fix some docstrings

2019-01-13 Thread Michael Niedermayer
On Sun, Jan 13, 2019 at 12:15:55AM +0100, Nicolas Granger wrote:
> Hello,
> 
> This fixes an erroneous reference and missing links in the API documentation.
> 
> Best regards,
> 
> Nicolas Granger
> 
> ---
> libavcodec/avcodec.h | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 4414853e84..64ba039be2 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -4892,7 +4892,8 @@ int avcodec_send_packet(AVCodecContext *avctx, const 
> AVPacket *avpkt);
> * @param frame This will be set to a reference-counted video or audio
> * frame (depending on the decoder type) allocated by the
> * decoder. Note that the function will always call
> - * av_frame_unref(frame) before doing anything else.
> + * @ref av_frame_unref "av_frame_unref(frame)" before doing
> + * anything else.

this patch is corrupted and will not apply automatically

[...]
-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] avcodec: fix some docstrings

2019-01-12 Thread Nicolas Granger
Hello,

This fixes an erroneous reference and missing links in the API documentation.

Best regards,

Nicolas Granger

---
libavcodec/avcodec.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 4414853e84..64ba039be2 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4892,7 +4892,8 @@ int avcodec_send_packet(AVCodecContext *avctx, const 
AVPacket *avpkt);
* @param frame This will be set to a reference-counted video or audio
* frame (depending on the decoder type) allocated by the
* decoder. Note that the function will always call
- * av_frame_unref(frame) before doing anything else.
+ * @ref av_frame_unref "av_frame_unref(frame)" before doing
+ * anything else.
*
* @return
* 0: success, a frame was returned
@@ -4948,7 +4949,8 @@ int avcodec_send_frame(AVCodecContext *avctx, const 
AVFrame *frame);
* @param avctx codec context
* @param avpkt This will be set to a reference-counted packet allocated by the
* encoder. Note that the function will always call
- * av_frame_unref(frame) before doing anything else.
+ * @ref av_packet_unref "av_packet_unref(avpkt)" before doing
+ * anything else.
* @return 0 on success, otherwise negative error code:
* AVERROR(EAGAIN): output is not available in the current state - user
* must try to send input
-- 
2.20.1


___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel