[vlc-commits] decoder: allow an extra frame for MPEG4 part 2/DivX/XviD

Steve Lhomme git at videolan.org
Mon Jan 27 09:44:57 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jan 24 10:32:24 2020 +0100| [ee7bc032b6ea169588a3adfaf96cf55c8624653d] | committer: Steve Lhomme

decoder: allow an extra frame for MPEG4 part 2/DivX/XviD

There can be 3 frames (instead of the default 2) in the decoder memory at once.

ref #23563

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee7bc032b6ea169588a3adfaf96cf55c8624653d
---

 src/input/decoder.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5390e85f27..251be90592 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -439,6 +439,7 @@ static int ModuleThread_UpdateVideoFormat( decoder_t *p_dec, vlc_video_context *
         case VLC_CODEC_AV1:
             dpb_size = 10;
             break;
+        case VLC_CODEC_MP4V:
         case VLC_CODEC_VP5:
         case VLC_CODEC_VP6:
         case VLC_CODEC_VP6F:



More information about the vlc-commits mailing list