diff options
Diffstat (limited to 'libhb/muxmkv.c')
-rw-r--r-- | libhb/muxmkv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c index 653fe74ac..9bb4ece58 100644 --- a/libhb/muxmkv.c +++ b/libhb/muxmkv.c @@ -192,7 +192,7 @@ static int MKVInit( hb_mux_object_t * m ) track->audio.channels = HB_AMIXDOWN_GET_DISCRETE_CHANNEL_COUNT(audio->amixdown); // track->defaultDuration = job->arate * 1000; mux_data->track = mk_createTrack(m->file, track); - if (track->codecPrivate != NULL) + if (job->acodec == HB_ACODEC_VORBIS && track->codecPrivate != NULL) free(track->codecPrivate); } |