[vlc-commits] stl: fix warnings
Rémi Duraffort
git at videolan.org
Wed Jul 13 11:41:06 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jul 13 11:40:22 2011 +0200| [4a3838cb5f890a6ffdb4273c975bc24569c7c00f] | committer: Rémi Duraffort
stl: fix warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a3838cb5f890a6ffdb4273c975bc24569c7c00f
---
modules/demux/stl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/stl.c b/modules/demux/stl.c
index a0a9dd5..50a97e1 100644
--- a/modules/demux/stl.c
+++ b/modules/demux/stl.c
@@ -173,7 +173,7 @@ static int Open(vlc_object_t *object)
const int cct = ParseInteger(&header[12], 2);
const mtime_t program_start = ParseTextTimeCode(&header[256], fps);
const int tti_count = ParseInteger(&header[238], 5);
- msg_Dbg(demux, "Detected EBU STL : CCT=%d TTI=%d start=%8.8s %lld", cct, tti_count, &header[256], program_start);
+ msg_Dbg(demux, "Detected EBU STL : CCT=%d TTI=%d start=%8.8s %"PRId64, cct, tti_count, &header[256], program_start);
demux_sys_t *sys = xmalloc(sizeof(*sys));
sys->next_date = 0;
@@ -221,7 +221,7 @@ static int Open(vlc_object_t *object)
sys->es = es_out_Add(demux->out, &fmt);
- fmt.i_extra = NULL;
+ fmt.i_extra = 0;
fmt.p_extra = NULL;
es_format_Clean(&fmt);
More information about the vlc-commits
mailing list