diff options
author | jstebbins <[email protected]> | 2011-04-20 23:31:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-04-20 23:31:01 +0000 |
commit | f4f14d602bca8e98f817f47ce3f43ea1f5b76242 (patch) | |
tree | 48fead788a987b9e773bb6698a1d41225f040aa1 /libhb/muxmkv.c | |
parent | 8fdd7e8d1411f04b08039f00967e71fc1b58da59 (diff) |
Remove redundant code.
Should have been removed here https://trac.handbrake.fr/changeset/2917
Thanks to rodeo for spotting this.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3944 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmkv.c')
-rw-r--r-- | libhb/muxmkv.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c index 445447f9c..7256843ff 100644 --- a/libhb/muxmkv.c +++ b/libhb/muxmkv.c @@ -452,16 +452,8 @@ static int MKVMux( hb_mux_object_t * m, hb_mux_data_t * mux_data, } duration = buf->stop * TIMECODE_SCALE - timecode; - if( mux_data->sub_format == TEXTSUB ) - { - mk_addFrameData(m->file, mux_data->track, buf->data, buf->size); - mk_setFrameFlags(m->file, mux_data->track, timecode, 1, duration); - } - else - { - mk_addFrameData(m->file, mux_data->track, buf->data, buf->size); - mk_setFrameFlags(m->file, mux_data->track, timecode, 1, duration); - } + mk_addFrameData(m->file, mux_data->track, buf->data, buf->size); + mk_setFrameFlags(m->file, mux_data->track, timecode, 1, duration); mk_flushFrame(m->file, mux_data->track); hb_buffer_close( &buf ); return 0; |