summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-10 11:04:28 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-13 08:25:10 +0100
commit42d30c9019a6b67c56b05f1828fa04c0439a4fd0 (patch)
tree6da5ad5f835f80153fb8ac3fb08a70b19ede88da /libavcodec/h263dec.c
parent75a3268beea691c73c8bb202a2d4a6d61a97234a (diff)
avcodec/mpegvideo, svq3: Remove unused next_p_frame_damaged
Always zero since 4d2858deac5213eaddfdc06f98379b6325d7b953. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 11e80cb9e9..9cc2665cac 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -603,13 +603,6 @@ retry:
avctx->skip_frame >= AVDISCARD_ALL)
return get_consumed_bytes(s, buf_size);
- if (s->next_p_frame_damaged) {
- if (s->pict_type == AV_PICTURE_TYPE_B)
- return get_consumed_bytes(s, buf_size);
- else
- s->next_p_frame_damaged = 0;
- }
-
if ((!s->no_rounding) || s->pict_type == AV_PICTURE_TYPE_B) {
s->me.qpel_put = s->qdsp.put_qpel_pixels_tab;
s->me.qpel_avg = s->qdsp.avg_qpel_pixels_tab;