Commit 6497aab0 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '95e2317e'

* commit '95e2317e':
  roqvideoenc: Drop unneeded initialization

Conflicts:
	libavcodec/roqvideoenc.c
Merged-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parents 16b68bd2 95e2317e
......@@ -960,9 +960,6 @@ static int roq_encode_video(RoqContext *enc)
reconstruct_and_encode_image(enc, tempData, enc->width, enc->height,
enc->width*enc->height/64);
av_frame_unref(enc->avctx->coded_frame);
av_frame_ref(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);
......
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