OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f171de
)
roqvideoenc: Drop unneeded initialization
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 15 Jul 2015 17:41:09 +0000
(18:41 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 20 Jul 2015 12:57:25 +0000
(13:57 +0100)
Its fields are never initialized to begin with.
libavcodec/roqvideoenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/roqvideoenc.c
b/libavcodec/roqvideoenc.c
index
872bee8
..
32dabae
100644
(file)
--- 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);