OSDN Git Service

fix a problem with the first timestamp returned from av_parser_parse2
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 14 Nov 2010 01:54:27 +0000 (01:54 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 14 Nov 2010 01:54:27 +0000 (01:54 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@3677 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/decavcodec.c

index 2ccac58..ecb1d3c 100644 (file)
@@ -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 )