Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-07-26 18:16:42 +0400
committerPaul B Mahol <onemda@gmail.com>2013-08-01 00:01:43 +0400
commitfe3755124953d2c5351f8023a404e71d0f0bbeb5 (patch)
tree0eb94a740c541707845e658147fe09574736c847 /libavcodec/sunrastenc.c
parent678431d3f2c5f35fe48b02d5035604ace742be2e (diff)
sunrastenc: do not set avctx->coded_frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/sunrastenc.c')
-rw-r--r--libavcodec/sunrastenc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 2c7e72f5a3..7b0ffb35d7 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -25,7 +25,6 @@
#include "sunrast.h"
typedef struct SUNRASTContext {
- AVFrame picture;
PutByteContext p;
int depth; ///< depth of pixel
int length; ///< length (bytes) of image
@@ -149,9 +148,6 @@ static av_cold int sunrast_encode_init(AVCodecContext *avctx)
return AVERROR(EINVAL);
}
- avctx->coded_frame = &s->picture;
- avctx->coded_frame->key_frame = 1;
- avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
s->maptype = RMT_NONE;
s->maplength = 0;