aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wbmpdec.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/wbmpdec.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/wbmpdec.c')
-rw-r--r--libavcodec/wbmpdec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/wbmpdec.c b/libavcodec/wbmpdec.c
index 3b5753abcd..50c729047d 100644
--- a/libavcodec/wbmpdec.c
+++ b/libavcodec/wbmpdec.c
@@ -74,9 +74,6 @@ static int wbmp_decode_frame(AVCodecContext *avctx, AVFrame *p,
else
readbits(p->data[0], width, height, p->linesize[0], gb.buffer, gb.buffer_end - gb.buffer);
- p->flags |= AV_FRAME_FLAG_KEY;
- p->pict_type = AV_PICTURE_TYPE_I;
-
*got_frame = 1;
return buf_size;