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) {