]> git.sesse.net Git - ffmpeg/commitdiff
roqvideoenc: Drop unneeded initialization
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 15 Jul 2015 17:41:09 +0000 (18:41 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 20 Jul 2015 12:57:25 +0000 (13:57 +0100)
Its fields are never initialized to begin with.

libavcodec/roqvideoenc.c

index 872bee8c1a2eff97ca698d29ab15f94142653aa1..32dabae09cc9f18f572e243f8ec8ce828687b52f 100644 (file)
@@ -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);