summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-17 12:33:56 -0600
committerJohn Stebbins <[email protected]>2016-05-17 12:33:56 -0600
commit692acd96901448759d909a3ddd40951d16716592 (patch)
tree6eb72583b3ce64bf3bf7565d22d22b68701d48cb
parent7bf004d593fe011744664d44c1b93fba3c55c28e (diff)
decavcodec: remove unused frame_duration_set
-rw-r--r--libhb/decavcodec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index cb6d5e82d..e245069af 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -87,7 +87,6 @@ struct hb_work_private_s
hb_buffer_list_t list;
double duration; // frame duration (for video)
double field_duration; // field duration (for video)
- int frame_duration_set; // Indicates valid timing was found in stream
double pts_next; // next pts we expect to generate
int64_t chap_time; // time of next chap mark (if new_chap != 0)
int new_chap; // output chapter mark pending
@@ -1849,10 +1848,6 @@ static void compute_frame_duration( hb_work_private_t *pv )
// No valid timing info found in the stream, so pick some value
duration = 1001. / 24000.;
}
- else
- {
- pv->frame_duration_set = 1;
- }
pv->duration = duration * 90000.;
pv->field_duration = pv->duration;
if ( pv->context->ticks_per_frame > 1 )