changeset 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 5ebac9debadf
children e7032c44d4a7
files mpeg12.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
             }
         }
     }