<html><head></head><body>Oops. Unfortunately, I (now) think that this fix is actually not sufficient.<br>
<br>
We really should remove that parameter.<br><br><div class="gmail_quote">Le 20 juin 2017 13:15:56 GMT+03:00, Thomas Guillem <git@videolan.org> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">vlc | branch: master | Thomas Guillem <thomas@gllm.fr> | Tue Jun 20 12:13:20 2017 +0200| [35455fb5a8f0efad4cd67959a7a0fa2727082424] | committer: Thomas Guillem<br /><br />avcodec: fix wrong vlc_va_Delete argument<br /><br />Regression from 41f17efeb747e767bc4fd36e5b0ac2c7a77ab755<br /><br />This led to a crash with vdpau when va context could not be re-used.<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> <a href="http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35455fb5a8f0efad4cd67959a7a0fa2727082424">http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35455fb5a8f0efad4cd67959a7a0fa2727082424</a><br /></blockquote>---<br /><br /> modules/codec/avcodec/video.c | 2 +-<br /> 1 file changed, 1 insertion(+), 1 deletion(-)<br /><br />diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c<br />index efda92e628..2cd6521908 100644<br />--- a/modules/codec/avcodec/video.c<br />+++ b/modules/codec/avcodec/video.c<br />@@ -1520,7 +1520,7 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,<br />     if (p_sys->p_va != NULL)<br />     {<br />         msg_Err(p_dec, "existing hardware acceleration cannot be reused");<br />-        vlc_va_Delete(p_sys->p_va, p_context);<br />+        vlc_va_Delete(p_sys->p_va, p_context->hwaccel_context);<br />         p_sys->p_va = NULL;<br />     }<br /> <br /><br /><hr /><br />vlc-commits mailing list<br />vlc-commits@videolan.org<br /><a href="https://mailman.videolan.org/listinfo/vlc-commits">https://mailman.videolan.org/listinfo/vlc-commits</a><br /></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>