diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-22 01:09:54 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-28 02:57:10 +0300 |
commit | ed6549887a1969636b30295b3da87313b7c46864 (patch) | |
tree | d7c8bc971f8f8eecc7ac4d21803e9606f0bc4d87 /libavcodec/proresenc_kostya.c | |
parent | 3f11eac75741888c7b2b6f93c458766f2613bab5 (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/proresenc_kostya.c')
-rw-r--r-- | libavcodec/proresenc_kostya.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 4f303593ce..85651fce2a 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -1136,7 +1136,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, bytestream_put_be32(&orig_buf, frame_size); pkt->size = frame_size; - pkt->flags |= AV_PKT_FLAG_KEY; *got_packet = 1; return 0; |