diff mpeg12.c @ 9718:017967b3067f libavcodec

Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg. Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.
author bcoudurier
date Wed, 27 May 2009 00:14:32 +0000
parents 34be4ff86302
children 5d0f71ba8648
line wrap: on
line diff
--- a/mpeg12.c	Tue May 26 23:58:30 2009 +0000
+++ b/mpeg12.c	Wed May 27 00:14:32 2009 +0000
@@ -2226,7 +2226,7 @@
                 }
             }
             if(s && state == PICTURE_START_CODE){
-                ff_fetch_timestamp(s, i-4, 1);
+                ff_fetch_timestamp(s, i-3, 1);
             }
         }
     }