Commit 2ced06c0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Revert "Correctly set the index keyframe flag in avi muxer."

This reverts commit 922455d3.
parent 9e39e1d8
......@@ -474,9 +474,7 @@ static int Mux ( sout_mux_t *p_mux )
/* add idx1 entry for this frame */
p_idx = &p_sys->idx1.entry[p_sys->idx1.i_entry_count];
memcpy( p_idx->fcc, p_stream->fcc, 4 );
p_idx->i_flags = 0;
if( ( p_data->i_flags & BLOCK_FLAG_TYPE_MASK ) == 0 || ( p_data->i_flags & BLOCK_FLAG_TYPE_I ) )
p_idx->i_flags = AVIIF_KEYFRAME;
p_idx->i_flags = AVIIF_KEYFRAME;
p_idx->i_pos = p_sys->i_movi_size + 4;
p_idx->i_length= p_data->i_buffer;
p_sys->idx1.i_entry_count++;
......
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