diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-11-17 15:06:35 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-11-17 18:30:03 +0100 |
commit | eafa2b600502f5e8b36b99a2737d6b3d3a58441f (patch) | |
tree | 092268c2591a8cfd3c53fd8253bbe8e0d1c0c8d4 /ffplay.c | |
parent | d3baced24fcf602f2bceff1f73871303d4011c15 (diff) | |
download | ffmpeg-eafa2b600502f5e8b36b99a2737d6b3d3a58441f.tar.gz |
swr: introduce a public function to customize the channel mapping.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2079,7 +2079,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) is->swr_ctx = swr_alloc_set_opts(NULL, is->audio_tgt_channel_layout, is->audio_tgt_fmt, is->audio_tgt_freq, dec_channel_layout, dec->sample_fmt, dec->sample_rate, - NULL, 0, NULL); + 0, NULL); if (!is->swr_ctx || swr_init(is->swr_ctx) < 0) { fprintf(stderr, "Cannot create sample rate converter for conversion of %d Hz %s %d channels to %d Hz %s %d channels!\n", dec->sample_rate, |