Fix in the SCR parser for high values.

This commit is contained in:
Christophe Massiot 2000-12-11 19:26:57 +00:00
parent 7107b37d19
commit 5aadb8d7fd
1 changed files with 1 additions and 1 deletions

View File

@ -738,7 +738,7 @@ void input_DemuxPS( input_thread_t * p_input, data_packet_t * p_data )
/* MPEG-2 */
scr_time =
(( ((mtime_t)(p_data->p_buffer[4] & 0x38) << 27) |
((mtime_t)(p_data->p_buffer[4] & 0x3) << 26) |
((mtime_t)(p_data->p_buffer[4] & 0x3) << 28) |
((mtime_t)(p_data->p_buffer[5]) << 20) |
((mtime_t)(p_data->p_buffer[6] & 0xF8) << 12) |
((mtime_t)(p_data->p_buffer[6] & 0x3) << 13) |