diff options
Diffstat (limited to 'ffmpeg/libavcodec/avuienc.c')
| -rw-r--r-- | ffmpeg/libavcodec/avuienc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavcodec/avuienc.c b/ffmpeg/libavcodec/avuienc.c index a4970a0..eb0046c 100644 --- a/ffmpeg/libavcodec/avuienc.c +++ b/ffmpeg/libavcodec/avuienc.c @@ -25,7 +25,7 @@ static av_cold int avui_encode_init(AVCodecContext *avctx) { - avctx->coded_frame = avcodec_alloc_frame(); + avctx->coded_frame = av_frame_alloc(); if (avctx->width != 720 || avctx->height != 486 && avctx->height != 576) { av_log(avctx, AV_LOG_ERROR, "Only 720x486 and 720x576 are supported.\n"); @@ -101,6 +101,7 @@ static av_cold int avui_encode_close(AVCodecContext *avctx) AVCodec ff_avui_encoder = { .name = "avui", + .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_AVUI, .init = avui_encode_init, @@ -108,5 +109,4 @@ AVCodec ff_avui_encoder = { .close = avui_encode_close, .capabilities = CODEC_CAP_EXPERIMENTAL, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_UYVY422, AV_PIX_FMT_NONE }, - .long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"), }; |
