roqvideoenc: Drop unneeded initialization

Its fields are never initialized to begin with.
pull/140/head
Vittorio Giovara 10 years ago
parent 1f171de8ca
commit 95e2317ed8
  1. 2
      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);

Loading…
Cancel
Save