diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-09 03:34:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-19 11:40:07 +0200 |
commit | df3cdf4c75b802b124ad6d62eb2cd3d9686ea070 (patch) | |
tree | 6bd8de0eee9ddc44194e4d5ee8196867247e5317 /libavcodec/dnxhddec.c | |
parent | eee88ba0dc67b5beaa31199d5bf1e7fc324e0652 (diff) | |
download | ffmpeg-df3cdf4c75b802b124ad6d62eb2cd3d9686ea070.tar.gz |
avcodec: Remove redundant setting of AV_FRAME_FLAG_KEY, AV_PICTURE_TYPE_I
This is done generically now.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r-- | libavcodec/dnxhddec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index e549b38720..fe0809a5f5 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -655,8 +655,6 @@ decode_coding_unit: if (first_field) { if ((ret = ff_thread_get_buffer(avctx, picture, 0)) < 0) return ret; - picture->pict_type = AV_PICTURE_TYPE_I; - picture->flags |= AV_FRAME_FLAG_KEY; } ctx->buf_size = buf_size - ctx->data_offset; |