changeset 13671:e12b3834decf

Recover Keyframe-Index for XviD aswell
author atmos4
date Mon, 18 Oct 2004 13:16:13 +0000
parents b0c81a814148
children d80a81d6e2d8
files libmpdemux/aviheader.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/aviheader.c	Mon Oct 18 12:32:45 2004 +0000
+++ b/libmpdemux/aviheader.c	Mon Oct 18 13:16:13 2004 +0000
@@ -306,6 +306,8 @@
         case mmioFOURCC('D', 'I', 'V', 'X'):
         case mmioFOURCC('d', 'i', 'v', 'x'):
         case mmioFOURCC('D', 'X', '5', '0'):
+        case mmioFOURCC('X', 'V', 'I', 'D'):
+        case mmioFOURCC('x', 'v', 'i', 'd'):
           idxfix_divx=2; // we can fix keyframes only for divx coded files!
 	  mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for DIVX 4 video\n");
 	  break;