ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> 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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to