You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
dpxenc: do not set coded_frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct DPXContext {
|
||||
AVFrame picture;
|
||||
int big_endian;
|
||||
int bits_per_component;
|
||||
int descriptor;
|
||||
@@ -37,10 +36,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
{
|
||||
DPXContext *s = avctx->priv_data;
|
||||
|
||||
avctx->coded_frame = &s->picture;
|
||||
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
||||
avctx->coded_frame->key_frame = 1;
|
||||
|
||||
s->big_endian = 1;
|
||||
s->bits_per_component = 8;
|
||||
s->descriptor = 50; /* RGB */
|
||||
|
Reference in New Issue
Block a user