[FFmpeg-cvslog] roqvideoenc: Drop unneeded initialization

Vittorio Giovara git at videolan.org
Mon Jul 20 21:39:03 CEST 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Jul 15 18:41:09 2015 +0100| [95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e] | committer: Vittorio Giovara

roqvideoenc: Drop unneeded initialization

Its fields are never initialized to begin with.

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

 libavcodec/roqvideoenc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 872bee8..32dabae 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -955,8 +955,6 @@ static int roq_encode_video(RoqContext *enc)
     reconstruct_and_encode_image(enc, tempData, enc->width, enc->height,
                                  enc->width*enc->height/64);
 
-    enc->avctx->coded_frame = enc->current_frame;
-
     /* Rotate frame history */
     FFSWAP(AVFrame *, enc->current_frame, enc->last_frame);
     FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4);



More information about the ffmpeg-cvslog mailing list