diff options
Diffstat (limited to 'libmpdemux/mpeg_hdr.c')
-rw-r--r-- | libmpdemux/mpeg_hdr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpdemux/mpeg_hdr.c b/libmpdemux/mpeg_hdr.c index a31bd32f84..a204a2a2e4 100644 --- a/libmpdemux/mpeg_hdr.c +++ b/libmpdemux/mpeg_hdr.c @@ -8,16 +8,16 @@ #include "config.h" #include "mpeg_hdr.h" -static int frameratecode2framerate[16] = { +static float frameratecode2framerate[16] = { 0, // Official mpeg1/2 framerates: (1-8) - 24000*10000/1001, 24*10000,25*10000, - 30000*10000/1001, 30*10000,50*10000, - 60000*10000/1001, 60*10000, + 24000.0/1001, 24,25, + 30000.0/1001, 30,50, + 60000.0/1001, 60, // Xing's 15fps: (9) - 15*10000, + 15, // libmpeg3's "Unofficial economy rates": (10-13) - 5*10000,10*10000,12*10000,15*10000, + 5,10,12,15, // some invalid ones: (14-15) 0,0 }; |