summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideoenc.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-15 18:41:09 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-07-20 13:57:25 +0100
commit95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e (patch)
tree40b52181d3d74819b1d5b274d16b951848ee1140 /libavcodec/roqvideoenc.c
parent1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4 (diff)
roqvideoenc: Drop unneeded initialization
Its fields are never initialized to begin with.
Diffstat (limited to 'libavcodec/roqvideoenc.c')
-rw-r--r--libavcodec/roqvideoenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 872bee8c1a..32dabae09c 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);