diff options
author | jbrjake <[email protected]> | 2007-04-16 22:50:21 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-04-16 22:50:21 +0000 |
commit | 978bc1e56e07c217a54ebe7f128dcce97df929a7 (patch) | |
tree | 072e941c329c10956ecc567dfe6576381bb617f5 /libhb/muxmp4.c | |
parent | 3aff3e3e8ae0a6015d07800c48194f46e2e5be8e (diff) |
Prevents a bus error at the end of muxing when b-frames are enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@517 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmp4.c')
-rw-r--r-- | libhb/muxmp4.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c index e37da3b24..7aae352cd 100644 --- a/libhb/muxmp4.c +++ b/libhb/muxmp4.c @@ -258,6 +258,9 @@ static int MP4End( hb_mux_object_t * m ) char filename[1024]; memset( filename, 0, 1024 ); #endif + hb_job_t * job = m->job; + + if (job->areBframes) /* Walk the entire video sample table and find the minumum ctts value. */ { MP4SampleId count = MP4GetTrackNumberOfSamples( m->file, 1); |