diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-22 00:09:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-28 01:57:10 +0200 |
commit | ed6549887a1969636b30295b3da87313b7c46864 (patch) | |
tree | d7c8bc971f8f8eecc7ac4d21803e9606f0bc4d87 /libavcodec/dnxhdenc.c | |
parent | 3f11eac75741888c7b2b6f93c458766f2613bab5 (diff) | |
download | ffmpeg-ed6549887a1969636b30295b3da87313b7c46864.tar.gz |
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/dnxhdenc.c')
-rw-r--r-- | libavcodec/dnxhdenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index ee45c64ff4..b45fb41515 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -1308,7 +1308,6 @@ encode_coding_unit: ff_side_data_set_encoder_stats(pkt, ctx->qscale * FF_QP2LAMBDA, NULL, 0, AV_PICTURE_TYPE_I); - pkt->flags |= AV_PKT_FLAG_KEY; *got_packet = 1; return 0; } |