Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
9717:5ebac9debadf | 9718:017967b3067f |
---|---|
2224 pc->state=-1; | 2224 pc->state=-1; |
2225 return i-3; | 2225 return i-3; |
2226 } | 2226 } |
2227 } | 2227 } |
2228 if(s && state == PICTURE_START_CODE){ | 2228 if(s && state == PICTURE_START_CODE){ |
2229 ff_fetch_timestamp(s, i-4, 1); | 2229 ff_fetch_timestamp(s, i-3, 1); |
2230 } | 2230 } |
2231 } | 2231 } |
2232 } | 2232 } |
2233 pc->state= state; | 2233 pc->state= state; |
2234 return END_NOT_FOUND; | 2234 return END_NOT_FOUND; |