Commit e37d8188 authored by Christophe Massiot's avatar Christophe Massiot

* libmpeg2/header.c: Fixed a long-standing typo messing up non-standard frame

   rates, spotted by Craig Milo Rogers.
parent dcc5bdef
......@@ -239,7 +239,7 @@ static int sequence_ext (mpeg2dec_t * mpeg2dec)
sequence->vbv_buffer_size |= buffer[4] << 21;
sequence->frame_period =
sequence->frame_period * ((buffer[5]&31)+1) / (((buffer[5]>>2)&3)+1);
sequence->frame_period * ((buffer[5]&31)+1) / (((buffer[5]>>5)&3)+1);
mpeg2dec->ext_state = SEQ_DISPLAY_EXT;
......
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