From 220c7dadc4988e4ef52e93b098e6f02283f7852a Mon Sep 17 00:00:00 2001 From: Linjie Fu Date: Fri, 28 Feb 2020 00:13:28 +0800 Subject: [PATCH] lavc/avcodec.h: fix missing line breaks in API documentation "In both cases.." and "Repeat this call until.." would be better to be in a separate line. http://ffmpeg.org/doxygen/trunk/group__lavc__encdec.html Signed-off-by: Linjie Fu Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 894a9e5565..5a0fc3405c 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -92,6 +92,7 @@ * compressed data in an AVPacket. * - For encoding, call avcodec_send_frame() to give the encoder an AVFrame * containing uncompressed audio or video. + * * In both cases, it is recommended that AVPackets and AVFrames are * refcounted, or libavcodec might have to copy the input data. (libavformat * always returns refcounted AVPackets, and av_frame_get_buffer() allocates @@ -102,6 +103,7 @@ * an AVFrame containing uncompressed audio or video data. * - For encoding, call avcodec_receive_packet(). On success, it will return * an AVPacket with a compressed frame. + * * Repeat this call until it returns AVERROR(EAGAIN) or an error. The * AVERROR(EAGAIN) return value means that new input data is required to * return new output. In this case, continue with sending input. For each