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/utvideoenc.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/utvideoenc.c')
-rw-r--r-- | libavcodec/utvideoenc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c index 1402825fa7..30907faa0f 100644 --- a/libavcodec/utvideoenc.c +++ b/libavcodec/utvideoenc.c @@ -616,11 +616,6 @@ static int utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt, frame_info = c->frame_pred << 8; bytestream2_put_le32(&pb, frame_info); - /* - * At least currently Ut Video is IDR only. - * Set flags accordingly. - */ - pkt->flags |= AV_PKT_FLAG_KEY; pkt->size = bytestream2_tell_p(&pb); /* Packet should be done */ |