Mercurial > mplayer.hg
changeset 18186:fa216057a29f
audio init code was previously moved to fix_parameters() so removed from write_chunk()
author | nicodvb |
---|---|
date | Sat, 22 Apr 2006 13:25:46 +0000 |
parents | 34cc93e9848f |
children | 7d83cd632b6b |
files | libmpdemux/muxer_mpeg.c |
diffstat | 1 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c Sat Apr 22 13:24:20 2006 +0000 +++ b/libmpdemux/muxer_mpeg.c Sat Apr 22 13:25:46 2006 +0000 @@ -2430,24 +2430,6 @@ memcpy(&(s->b_buffer[s->b_buffer_ptr + s->b_buffer_len]), s->buffer, len); s->b_buffer_len += len; - if(stream_format == AUDIO_A52) - { - s->type = 1; - s->ckid = be2me_32 (0x1bd); - if(s->size == 0) - { - spriv->max_pl_size -= 4; - if(priv->is_genmpeg1 || priv->is_genmpeg2) - fix_audio_sys_header(priv, spriv->id, 0xbd, 58*1024); //only one audio at the moment - spriv->id = 0xbd; - } - } - else if(stream_format == AUDIO_AAC1 || stream_format == AUDIO_AAC2) - { - if(spriv->size == 0) - priv->use_psm = 1; - } - parse_audio(s, 0, &nf, &fake_timer, priv->init_adelay, priv->drop); spriv->vframes += nf; sz = max(len, 2 * priv->packet_size);