summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-11-14 01:54:27 +0000
committerjstebbins <[email protected]>2010-11-14 01:54:27 +0000
commitf15c4c370252a313d0ed2114e5d8f9ea52a18ede (patch)
treeccb786269b0a626364a38f5a76205e8742c71b86
parented375bc5af90df51dd7001c9ed9a6a30493a3b71 (diff)
fix a problem with the first timestamp returned from av_parser_parse2
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3677 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 2ccac589a..ecb1d3cb4 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -851,7 +851,7 @@ static void decodeVideo( hb_work_private_t *pv, uint8_t *data, int size, int seq
uint8_t *pout;
int pout_len;
int len = av_parser_parse2( pv->parser, pv->context, &pout, &pout_len,
- data + pos, size - pos, pts, dts, AV_NOPTS_VALUE );
+ data + pos, size - pos, pts, dts, 0 );
pos += len;
if ( pout_len > 0 )