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:
3c3a8c1
)
libvpxenc: dont redundantly zero fields, the whole context is zeroed on init
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Feb 2013 23:11:53 +0000
(
00:11
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Feb 2013 23:11:53 +0000
(
00:11
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libvpxenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/libvpxenc.c
b/libavcodec/libvpxenc.c
index
bbd566d
..
4f1adb8
100644
(file)
--- a/
libavcodec/libvpxenc.c
+++ b/
libavcodec/libvpxenc.c
@@
-404,9
+404,6
@@
static av_cold int vpx_init(AVCodecContext *avctx,
vpx_img_wrap(&ctx->rawimg, VPX_IMG_FMT_I420, avctx->width, avctx->height, 1,
(unsigned char*)1);
- ctx->have_sse = 0;
- ctx->frame_number = 0;
-
avctx->coded_frame = avcodec_alloc_frame();
if (!avctx->coded_frame) {
av_log(avctx, AV_LOG_ERROR, "Error allocating coded frame\n");