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:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-22 01:09:54 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-28 02:57:10 +0300
commited6549887a1969636b30295b3da87313b7c46864 (patch)
treed7c8bc971f8f8eecc7ac4d21803e9606f0bc4d87 /libavcodec/sunrastenc.c
parent3f11eac75741888c7b2b6f93c458766f2613bab5 (diff)
avcodec/encoders: Remove redundant setting of AV_PKT_FLAG_KEY
It is now set generically for all those encoders whose corresponding AVCodecDescriptor has the AV_CODEC_PROP_INTRA_ONLY. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/sunrastenc.c')
-rw-r--r--libavcodec/sunrastenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index b77bed01a5..965ee5b818 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -189,7 +189,6 @@ static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
AV_WB32(&avpkt->data[16], s->length);
*got_packet_ptr = 1;
- avpkt->flags |= AV_PKT_FLAG_KEY;
avpkt->size = bytestream2_tell_p(&s->p);
return 0;
}