Commit 22a03860 authored by Paul B Mahol's avatar Paul B Mahol

dpxenc: do not set coded_frame

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 145e644a
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "internal.h" #include "internal.h"
typedef struct DPXContext { typedef struct DPXContext {
AVFrame picture;
int big_endian; int big_endian;
int bits_per_component; int bits_per_component;
int descriptor; int descriptor;
...@@ -37,10 +36,6 @@ static av_cold int encode_init(AVCodecContext *avctx) ...@@ -37,10 +36,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
{ {
DPXContext *s = avctx->priv_data; 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->big_endian = 1;
s->bits_per_component = 8; s->bits_per_component = 8;
s->descriptor = 50; /* RGB */ s->descriptor = 50; /* RGB */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment