[vlc-commits] mux: mp4: invalid cast
Francois Cartegnie
git at videolan.org
Wed Mar 18 15:41:22 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Mar 17 20:13:30 2015 +0100| [e9b6ca567f0b518874ab3b514a508ff3b852aecf] | committer: Francois Cartegnie
mux: mp4: invalid cast
commit 8fd834512cf778a89d0fbf2540b0055dec002f42.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9b6ca567f0b518874ab3b514a508ff3b852aecf
---
modules/mux/mp4.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/mux/mp4.c b/modules/mux/mp4.c
index 2df8553..1f14ead 100644
--- a/modules/mux/mp4.c
+++ b/modules/mux/mp4.c
@@ -752,8 +752,7 @@ static block_t *ConvertFromAnnexB(block_t *p_block)
dat = end;
/* Fix size */
- int i_size = dat - &last[4];
- SetDWBE((uint32_t*) last, i_size);
+ SetDWBE(last, dat - &last[4]);
/* Skip blocks with SPS/PPS */
//if ((last[4]&0x1f) == 7 || (last[4]&0x1f) == 8)
More information about the vlc-commits
mailing list