Browse Source

avcodec/h261dec: Remove parse_context cruft

The H.261 decoder doesn't use the ParseContext of its
MpegEncContext since e731697665.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 4 years ago
parent
commit
7f1207cb79
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/h261dec.c

+ 0
- 3
libavcodec/h261dec.c View File

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


Loading…
Cancel
Save