diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-12 21:15:59 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-12 21:15:59 +0000 |
commit | 22a038606cde5088cc2b4eee1a1ace1140c3b49b (patch) | |
tree | a520bb8590178dec2f8250966a89f34b122ddf7b /libavcodec | |
parent | 145e644aeed44ed22bcb37afe9209d2d42b60e00 (diff) | |
download | ffmpeg-22a038606cde5088cc2b4eee1a1ace1140c3b49b.tar.gz |
dpxenc: do not set coded_frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dpxenc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c index f210bbc774..b5f7c19191 100644 --- a/libavcodec/dpxenc.c +++ b/libavcodec/dpxenc.c @@ -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 */ |