summaryrefslogtreecommitdiff
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-22 18:54:12 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-08 13:25:04 +0100
commit7f1207cb79e79785ac837a9cd9f9ab6f0ba3462f (patch)
tree1fc8814b165ba77a8b1790d08e5a2c9cfa1d9268 /libavcodec/h261dec.c
parent54e5d21acabb452e5680de5db3bf7567d351d68e (diff)
downloadffmpeg-7f1207cb79e79785ac837a9cd9f9ab6f0ba3462f.tar.gz
avcodec/h261dec: Remove parse_context cruft
The H.261 decoder doesn't use the ParseContext of its MpegEncContext since e7316976650b429345da619c3acff38004aaf6b8. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 2b3408d7b3..5c25aa9cb3 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -608,10 +608,7 @@ retry:
}
if (s->width != avctx->coded_width || s->height != avctx->coded_height) {
- ParseContext pc = s->parse_context; // FIXME move this demuxing hack to libavformat
- s->parse_context.buffer = 0;
ff_mpv_common_end(s);
- s->parse_context = pc;
}
if (!s->context_initialized) {