summaryrefslogtreecommitdiff
path: root/libavcodec/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/flac.c')
-rw-r--r--libavcodec/flac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c
index fc1e0ec0e4..60b35a3933 100644
--- a/libavcodec/flac.c
+++ b/libavcodec/flac.c
@@ -113,6 +113,7 @@ static av_cold int flac_decode_init(AVCodecContext * avctx)
}
}
+ avctx->sample_fmt = SAMPLE_FMT_S16;
return 0;
}