]> git.sesse.net Git - vlc/commitdiff
Fix in the SCR parser for high values.
authorChristophe Massiot <massiot@videolan.org>
Mon, 11 Dec 2000 19:26:57 +0000 (19:26 +0000)
committerChristophe Massiot <massiot@videolan.org>
Mon, 11 Dec 2000 19:26:57 +0000 (19:26 +0000)
src/input/mpeg_system.c

index c5daae653ba16cdb3dc8b9dfcbe1c74a922dc6e8..63ad381c41f077e5613c45846d36ecf417ac24f5 100644 (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) |