Skip to content
Snippets Groups Projects
Commit e41f0913 authored by tun fenng's avatar tun fenng Committed by Rémi Denis-Courmont
Browse files

mux: avi: fix HDRL length


AVI files recorded by vlc cannot be played in Windows Media Player
because the HDRL length is calculated by 4 bytes more.

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 0e1fbc77)
parent 8761dbe1
No related branches found
No related tags found
Loading
Pipeline #243336 passed with stage
in 15 minutes and 43 seconds
......@@ -904,7 +904,7 @@ static block_t *avi_HeaderCreateRIFF( sout_mux_t *p_mux )
/* Now set hdrl size */
bo_set_32le( &bo, offsets.i_hdrllistsize,
bo.b->i_buffer - offsets.i_hdrldatastart );
bo.b->i_buffer + 4 - offsets.i_hdrldatastart );
avi_HeaderAdd_INFO( p_mux, &bo );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment