Commit 7e1beb39 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* backport [19060]

Fixed wrong type used in mp4 parsing
parent ee5ad3cc
......@@ -1692,7 +1692,7 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box )
{
unsigned int i;
MP4_READBOX_ENTER( MP4_Box_data_padb_t );
MP4_READBOX_ENTER( MP4_Box_data_elst_t );
MP4_GETVERSIONFLAGS( p_box->data.p_elst );
......@@ -1732,9 +1732,7 @@ static int MP4_ReadBox_elst( stream_t *p_stream, MP4_Box_t *p_box )
}
#ifdef MP4_VERBOSE
msg_Dbg( p_stream, "read box: \"elst\" entry-count "I64Fd,
i_read / 2 );
msg_Dbg( p_stream, "read box: \"elst\" entry-count "I64Fd, p_box->data.p_elst->i_entry_count );
#endif
MP4_READBOX_EXIT( 1 );
}
......
......@@ -2524,8 +2524,6 @@ static int rtp_packetize_h264_nal( sout_stream_t *p_stream, sout_stream_id_t *id
out->i_dts = i_dts + i * i_length / i_count;
out->i_length = i_length / i_count;
fprintf( stderr, "FU-A: payload=%d hdr=0x%x\n", i_payload, i_nal_hdr);
/* */
rtp_packetize_common( id, out, (b_last && i_payload == i_data), i_pts );
out->i_buffer = 14 + i_payload;
......
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