summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-13 20:59:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-18 16:57:47 +0200
commitf0ea5094afa3b056cf9c2f71cacadb4fbb7a6a95 (patch)
treeac6ea1f2d679fddab079b698b93bedf2bec04a1b
parent74d623914f02aa79447df43a742efd0929dded04 (diff)
avcodec/h263dec: Don't set frame parameters redundantly
This frame will be reset later in ff_mpv_frame_start() anyway. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index a65f16caea..a14d7811f5 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -583,10 +583,6 @@ retry:
s->codec_id == AV_CODEC_ID_H263I)
s->gob_index = H263_GOB_HEIGHT(s->height);
- // for skipping the frame
- s->current_picture.f->pict_type = s->pict_type;
- s->current_picture.f->key_frame = s->pict_type == AV_PICTURE_TYPE_I;
-
/* skip B-frames if we don't have reference frames */
if (!s->last_picture_ptr &&
(s->pict_type == AV_PICTURE_TYPE_B || s->droppable))