mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-15 20:39:03 +08:00
27 lines
869 B
Diff
27 lines
869 B
Diff
|
From 1e31a5a18bb0087f9e625919a805d64a2af40bbe Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
|
||
|
Date: Wed, 30 Jul 2014 19:05:43 +0300
|
||
|
Subject: [PATCH] avformat: initialize probe data (fixes #11851)
|
||
|
|
||
|
(cherry picked from commit 49bd1c657d960ba107d9db8752f716139a938eee)
|
||
|
---
|
||
|
modules/demux/avformat/demux.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
|
||
|
index bdd77fd..7349db2 100644
|
||
|
--- a/modules/demux/avformat/demux.c
|
||
|
+++ b/modules/demux/avformat/demux.c
|
||
|
@@ -157,7 +157,7 @@ int OpenDemux( vlc_object_t *p_this )
|
||
|
{
|
||
|
demux_t *p_demux = (demux_t*)p_this;
|
||
|
demux_sys_t *p_sys;
|
||
|
- AVProbeData pd;
|
||
|
+ AVProbeData pd = { };
|
||
|
AVInputFormat *fmt = NULL;
|
||
|
unsigned int i;
|
||
|
int64_t i_start_time = -1;
|
||
|
--
|
||
|
2.1.0
|
||
|
|