ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@gmail.com> | Tue Dec 22 18:54:12 2020 +0100| [7f1207cb79e79785ac837a9cd9f9ab6f0ba3462f] | committer: Andreas Rheinhardt
avcodec/h261dec: Remove parse_context cruft The H.261 decoder doesn't use the ParseContext of its MpegEncContext since e7316976650b429345da619c3acff38004aaf6b8. Reviewed-by: Anton Khirnov <an...@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f1207cb79e79785ac837a9cd9f9ab6f0ba3462f --- libavcodec/h261dec.c | 3 --- 1 file changed, 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) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".