diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 00:11:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 00:11:53 +0100 |
commit | 1d178710b429cedaa98bf971c16c8e32a94223f4 (patch) | |
tree | d7c2bc52d855d0cdc0024a9615afb08fdd10112f | |
parent | 3c3a8c14897978240ad6ab7762547878d5fb24cd (diff) | |
download | ffmpeg-streaming-1d178710b429cedaa98bf971c16c8e32a94223f4.zip ffmpeg-streaming-1d178710b429cedaa98bf971c16c8e32a94223f4.tar.gz |
libvpxenc: dont redundantly zero fields, the whole context is zeroed on init
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/libvpxenc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index bbd566d..4f1adb8 100644 --- 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"); |