From c4ef6c883bb611388f9f0dcbe49dd65cb10613a2 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Wed, 3 Feb 2016 22:14:27 +0000 Subject: [PATCH] mjpegenc: Remove duplicate initializer This was causing c99conv to crash. Signed-off-by: Derek Buitenhuis --- libavcodec/mjpegenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index b751d1402a..3d113770df 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -280,7 +280,6 @@ AVCodec ff_mjpeg_encoder = { .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MJPEG, .priv_data_size = sizeof(MpegEncContext), - .priv_class = &mjpeg_class, .init = ff_mpv_encode_init, .encode2 = ff_mpv_encode_picture, .close = ff_mpv_encode_end,