Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-20 22:31:42 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-20 22:31:42 +0300
commit6497aab022bf791f43a22d1ef2171994ef8e8980 (patch)
treefdb8bd4bd0967cae653c611ab111512111eca97f /libavcodec/roqvideoenc.c
parent16b68bd2ee5f36194b0bd9accc87a62a4b6048d2 (diff)
parent95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e (diff)
Merge commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e'
* commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e': roqvideoenc: Drop unneeded initialization Conflicts: libavcodec/roqvideoenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/roqvideoenc.c')
-rw-r--r--libavcodec/roqvideoenc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 89879e81b3..157719a4dc 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -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);