diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-23 15:30:50 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-20 09:18:29 +0100 |
commit | 0bbe5ac82ef2845efafbf190044f16712db113b2 (patch) | |
tree | ac8745fba01c8a3e902e886f46f90ad56576559f /src/player_thread.c | |
parent | c69c8ffa9ec55c94dee7ce69af26b4edbd61647e (diff) |
Switch to Libav sample formats everywhere.
Drop 24bit format for now. It should be restored later by properly
distinguishing between internal and packed formats.
Diffstat (limited to 'src/player_thread.c')
-rw-r--r-- | src/player_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c index 8efff1ad..5c9b7015 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -426,7 +426,7 @@ player_send_silence(struct player *player) if (!chunk->frame) goto fail; frame->nb_samples = 2048; - frame->format = sample_fmt_native_to_libav(player->play_audio_format.format); + frame->format = player->play_audio_format.format; frame->sample_rate = player->play_audio_format.sample_rate; frame->channel_layout = av_get_default_channel_layout(player->play_audio_format.channels); |