summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/mpeg_hdr.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/libmpdemux/mpeg_hdr.c b/libmpdemux/mpeg_hdr.c
index 58089eef5d..956f8ebf11 100644
--- a/libmpdemux/mpeg_hdr.c
+++ b/libmpdemux/mpeg_hdr.c
@@ -9,10 +9,16 @@
static int frameratecode2framerate[16] = {
0,
- // Official mpeg1/2 framerates:
- 24000*10000/1001, 24*10000,25*10000, 30000*10000/1001, 30*10000,50*10000,60000*10000/1001, 60*10000,
- // libmpeg3's "Unofficial economy rates":
- 299700,5*10000,10*10000,12*10000,15*10000,0,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,
+ // Xing's 15fps: (9)
+ 15*10000,
+ // libmpeg3's "Unofficial economy rates": (10-13)
+ 5*10000,10*10000,12*10000,15*10000,
+ // some invalid ones: (14-15)
+ 0,0
};