Mercurial > mplayer.hg
comparison libmpcodecs/ae_lavc.c @ 33045:776a676d5fde
Cosmetics: Fix typo.
author | cehoyos |
---|---|
date | Sun, 27 Mar 2011 21:25:58 +0000 |
parents | 281e1b1ae34c |
children | c36fec5ba5b6 |
comparison
equal
deleted
inserted
replaced
33044:d2b6fbd11f20 | 33045:776a676d5fde |
---|---|
188 lavc_actx->codec_id = lavc_acodec->id; | 188 lavc_actx->codec_id = lavc_acodec->id; |
189 // put sample parameters | 189 // put sample parameters |
190 lavc_actx->sample_fmt = lavc_acodec->sample_fmts ? lavc_acodec->sample_fmts[0] : AV_SAMPLE_FMT_S16; | 190 lavc_actx->sample_fmt = lavc_acodec->sample_fmts ? lavc_acodec->sample_fmts[0] : AV_SAMPLE_FMT_S16; |
191 if (lavc_actx->sample_fmt != AV_SAMPLE_FMT_S16) | 191 if (lavc_actx->sample_fmt != AV_SAMPLE_FMT_S16) |
192 mp_msg(MSGT_MENCODER, MSGL_ERR, "Encoder requires input not properly supported." | 192 mp_msg(MSGT_MENCODER, MSGL_ERR, "Encoder requires input not properly supported." |
193 "Try using e.g. 'ac3_fixed' instead if 'ac3' as codec\n"); | 193 "Try using e.g. 'ac3_fixed' instead of 'ac3' as codec\n"); |
194 encoder->input_format = samplefmt2affmt(lavc_actx->sample_fmt); | 194 encoder->input_format = samplefmt2affmt(lavc_actx->sample_fmt); |
195 lavc_actx->channels = encoder->params.channels; | 195 lavc_actx->channels = encoder->params.channels; |
196 lavc_actx->sample_rate = encoder->params.sample_rate; | 196 lavc_actx->sample_rate = encoder->params.sample_rate; |
197 lavc_actx->time_base.num = 1; | 197 lavc_actx->time_base.num = 1; |
198 lavc_actx->time_base.den = encoder->params.sample_rate; | 198 lavc_actx->time_base.den = encoder->params.sample_rate; |