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>
This commit is contained in:
parent
54e5d21aca
commit
7f1207cb79
@ -608,10 +608,7 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (s->width != avctx->coded_width || s->height != avctx->coded_height) {
|
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);
|
ff_mpv_common_end(s);
|
||||||
s->parse_context = pc;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!s->context_initialized) {
|
if (!s->context_initialized) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user