Commit e9b6ca56 authored by François Cartegnie's avatar François Cartegnie 🤞

mux: mp4: invalid cast

commit 8fd834512cf778a89d0fbf2540b0055dec002f42.
parent b0e058b5
......@@ -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)
......
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