diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-10 19:33:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-19 11:40:55 +0200 |
commit | 95937d6316310015187cbad371b58f54653a9ed1 (patch) | |
tree | ec5405175fce7e36aa5525ad34237eb94244c4ec /libavcodec/vbndec.c | |
parent | 2a00d68c09ea37a0b413c103a0fad915c8ebb067 (diff) | |
download | ffmpeg-95937d6316310015187cbad371b58f54653a9ed1.tar.gz |
avcodec/codec_desc: Mark AVRN, TGQ, PhotoCD, VBN as intra-only
Also remove the then redundant assignments of AV_FRAME_FLAG_KEY,
AV_PICTURE_TYPE_I.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vbndec.c')
-rw-r--r-- | libavcodec/vbndec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/vbndec.c b/libavcodec/vbndec.c index 4a38b02168..a96843f212 100644 --- a/libavcodec/vbndec.c +++ b/libavcodec/vbndec.c @@ -151,9 +151,6 @@ static int vbn_decode_frame(AVCodecContext *avctx, if (ret < 0) goto out; - frame->pict_type = AV_PICTURE_TYPE_I; - frame->flags |= AV_FRAME_FLAG_KEY; - if (format == VBN_FORMAT_RAW) { uint8_t *flipped = frame->data[0] + frame->linesize[0] * (frame->height - 1); av_image_copy_plane(flipped, -frame->linesize[0], image_buf ? image_buf : gb->buffer, linesize, linesize, frame->height); |