[FFmpeg-cvslog] libxvid: remove useless doxy comments.

Anton Khirnov git at videolan.org
Tue Oct 23 12:40:33 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Oct 22 15:20:23 2012 +0200| [5957aefc7c75d8c55309fd6cf2634e4fcd2a22e4] | committer: Anton Khirnov

libxvid: remove useless doxy comments.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5957aefc7c75d8c55309fd6cf2634e4fcd2a22e4
---

 libavcodec/libxvid.c |   27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index 89021e7..dd1e3e3 100644
--- a/libavcodec/libxvid.c
+++ b/libavcodec/libxvid.c
@@ -340,14 +340,6 @@ static void xvid_correct_framerate(AVCodecContext *avctx)
     }
 }
 
-/**
- * Create the private context for the encoder.
- * All buffers are allocated, settings are loaded from the user,
- * and the encoder context created.
- *
- * @param avctx AVCodecContext pointer to context
- * @return Returns 0 on success, -1 on failure
- */
 static av_cold int xvid_encode_init(AVCodecContext *avctx)  {
     int xerr, i;
     int xvid_flags = avctx->flags;
@@ -619,15 +611,6 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx)  {
     return 0;
 }
 
-/**
- * Encode a single frame.
- *
- * @param avctx AVCodecContext pointer to context
- * @param frame Pointer to encoded frame buffer
- * @param buf_size Size of encoded frame buffer
- * @param data Pointer to AVFrame of unencoded frame
- * @return Returns 0 on success, -1 on failure
- */
 static int xvid_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
                              const AVFrame *picture, int *got_packet)
 {
@@ -748,13 +731,6 @@ static int xvid_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     }
 }
 
-/**
- * Destroy the private context for the encoder.
- * All buffers are freed, and the Xvid encoder context is destroyed.
- *
- * @param avctx AVCodecContext pointer to context
- * @return Returns 0, success guaranteed
- */
 static av_cold int xvid_encode_close(AVCodecContext *avctx) {
     struct xvid_context *x = avctx->priv_data;
 
@@ -772,9 +748,6 @@ static av_cold int xvid_encode_close(AVCodecContext *avctx) {
     return 0;
 }
 
-/**
- * Xvid codec definition for libavcodec.
- */
 AVCodec ff_libxvid_encoder = {
     .name           = "libxvid",
     .type           = AVMEDIA_TYPE_VIDEO,



More information about the ffmpeg-cvslog mailing list