Commit e9b6ca56 authored by Francois Cartegnie's avatar Francois Cartegnie

mux: mp4: invalid cast

commit 8fd834512cf778a89d0fbf2540b0055dec002f42.
parent b0e058b5
...@@ -752,8 +752,7 @@ static block_t *ConvertFromAnnexB(block_t *p_block) ...@@ -752,8 +752,7 @@ static block_t *ConvertFromAnnexB(block_t *p_block)
dat = end; dat = end;
/* Fix size */ /* Fix size */
int i_size = dat - &last[4]; SetDWBE(last, dat - &last[4]);
SetDWBE((uint32_t*) last, i_size);
/* Skip blocks with SPS/PPS */ /* Skip blocks with SPS/PPS */
//if ((last[4]&0x1f) == 7 || (last[4]&0x1f) == 8) //if ((last[4]&0x1f) == 7 || (last[4]&0x1f) == 8)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment