mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avcodec/mjpegenc: cosmetic changes
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
1939b90306
commit
4116b2b136
@ -39,7 +39,6 @@
|
||||
#include "mjpeg.h"
|
||||
#include "mjpegenc.h"
|
||||
|
||||
|
||||
static int alloc_huffman(MpegEncContext *s)
|
||||
{
|
||||
MJpegContext *m = s->mjpeg_ctx;
|
||||
@ -351,7 +350,6 @@ void ff_mjpeg_encode_mb(MpegEncContext *s, int16_t block[12][64])
|
||||
#define V_MAX 2
|
||||
static int amv_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
|
||||
const AVFrame *pic_arg, int *got_packet)
|
||||
|
||||
{
|
||||
MpegEncContext *s = avctx->priv_data;
|
||||
AVFrame *pic;
|
||||
@ -405,7 +403,6 @@ FF_MPV_COMMON_OPTS
|
||||
};
|
||||
|
||||
#if CONFIG_MJPEG_ENCODER
|
||||
|
||||
static const AVClass mjpeg_class = {
|
||||
.class_name = "mjpeg encoder",
|
||||
.item_name = av_default_item_name,
|
||||
@ -429,6 +426,7 @@ AVCodec ff_mjpeg_encoder = {
|
||||
.priv_class = &mjpeg_class,
|
||||
};
|
||||
#endif
|
||||
|
||||
#if CONFIG_AMV_ENCODER
|
||||
static const AVClass amv_class = {
|
||||
.class_name = "amv encoder",
|
||||
|
Loading…
x
Reference in New Issue
Block a user