Commit 95e2317e authored by Vittorio Giovara's avatar Vittorio Giovara

roqvideoenc: Drop unneeded initialization

Its fields are never initialized to begin with.
parent 1f171de8
...@@ -955,8 +955,6 @@ static int roq_encode_video(RoqContext *enc) ...@@ -955,8 +955,6 @@ static int roq_encode_video(RoqContext *enc)
reconstruct_and_encode_image(enc, tempData, enc->width, enc->height, reconstruct_and_encode_image(enc, tempData, enc->width, enc->height,
enc->width*enc->height/64); enc->width*enc->height/64);
enc->avctx->coded_frame = enc->current_frame;
/* Rotate frame history */ /* Rotate frame history */
FFSWAP(AVFrame *, enc->current_frame, enc->last_frame); FFSWAP(AVFrame *, enc->current_frame, enc->last_frame);
FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4); FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment