aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wnv1.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-09 03:34:32 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-19 11:40:07 +0200
commitdf3cdf4c75b802b124ad6d62eb2cd3d9686ea070 (patch)
tree6bd8de0eee9ddc44194e4d5ee8196867247e5317 /libavcodec/wnv1.c
parenteee88ba0dc67b5beaa31199d5bf1e7fc324e0652 (diff)
downloadffmpeg-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/wnv1.c')
-rw-r--r--libavcodec/wnv1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index 0e8dae598f..3d0d90fe38 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -69,7 +69,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
return ret;
- p->flags |= AV_FRAME_FLAG_KEY;
if ((ret = init_get_bits8(&gb, buf + 8, buf_size - 8)) < 0)
return ret;