[vlc-commits] ps: small cleanup, avoid copying unitialized value
Rémi Denis-Courmont
git at videolan.org
Wed Aug 20 19:52:55 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 20 20:52:38 2014 +0300| [af9c01e9768db5d1d297f28db3713237bfaaac5f] | committer: Rémi Denis-Courmont
ps: small cleanup, avoid copying unitialized value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af9c01e9768db5d1d297f28db3713237bfaaac5f
---
modules/demux/ps.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ps.h b/modules/demux/ps.h
index 2a0018d..f443d9f 100644
--- a/modules/demux/ps.h
+++ b/modules/demux/ps.h
@@ -712,8 +712,8 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
es_out_Del( out, tk[i].es );
es_format_Clean( &tk[i].fmt );
+ tk_tmp.b_seen = true;
tk[i] = tk_tmp;
- tk[i].b_seen = true;
tk[i].es = es_out_Add( out, &tk[i].fmt );
}
More information about the vlc-commits
mailing list