diff options
author | konablend <[email protected]> | 2009-06-24 03:18:52 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-06-24 03:18:52 +0000 |
commit | 3082c33859dd160a4db6b0f44ea83a092d44a823 (patch) | |
tree | 6c9bbaeceea6de30b569a5b1c0c78fa1dbb1cb61 /libhb/decdca.c | |
parent | 82cb2f642093c2a9a8e2f8f484dbb96dccc53c2a (diff) |
- fixed gcc warnings for various unused vars, implicit function decls, signedness.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2612 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decdca.c')
-rw-r--r-- | libhb/decdca.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libhb/decdca.c b/libhb/decdca.c index ec625c5bd..4fe066135 100644 --- a/libhb/decdca.c +++ b/libhb/decdca.c @@ -156,6 +156,7 @@ static hb_buffer_t * Decode( hb_work_object_t * w ) hb_audio_t * audio = w->audio; int i, j, k; int64_t pts, pos; + uint64_t upts, upos; int num_blocks; /* Get a frame header if don't have one yet */ @@ -198,7 +199,10 @@ static hb_buffer_t * Decode( hb_work_object_t * w ) } /* Get the whole frame */ - hb_list_getbytes( pv->list, pv->frame, pv->size, &pts, &pos ); + hb_list_getbytes( pv->list, pv->frame, pv->size, &upts, &upos ); + pts = (int64_t)upts; + pos = (int64_t)upos; + if ( pts != pv->last_buf_pts ) { pv->last_buf_pts = pts; |