summaryrefslogtreecommitdiff
path: root/plugins/ffmpeg
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-07 22:16:42 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-07 22:16:42 +0200
commit13c344f5b64792045645d9d3461a5a4d56111d34 (patch)
treeaeb482c87a8bd6590eb2b777ad5f8a9314bd0806 /plugins/ffmpeg
parentebd2a973d425abe9532dd89770f9c0cb8144565e (diff)
ffmpeg: don't use layout for setting channelmask
Diffstat (limited to 'plugins/ffmpeg')
-rw-r--r--plugins/ffmpeg/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
index d28b54b4..f0d3d5e6 100644
--- a/plugins/ffmpeg/ffmpeg.c
+++ b/plugins/ffmpeg/ffmpeg.c
@@ -210,7 +210,7 @@ ffmpeg_init (DB_fileinfo_t *_info, DB_playItem_t *it) {
int64_t layout = info->ctx->channel_layout;
- if (layout != 0) {
+ if (layout != 0, 0) {
_info->fmt.channelmask = layout;
}
else {