100l, fix frametime calculation for MPEG-2 files with frame rate extension.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30966 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-03-27 12:47:26 +00:00
parent 28ff7246a0
commit df61424414
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ mpeg_header_parser:
if(!sh_video->fps){
sh_video->frametime=0;
} else {
sh_video->frametime=1.0/picture.fps;
sh_video->frametime=1.0/sh_video->fps;
}
sh_video->disp_w=picture.display_picture_width;
sh_video->disp_h=picture.display_picture_height;