From 0a8360c4f9cf3f6170dfaff5af2b3a5e8c41755d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 3 Dec 2012 15:21:19 +0000 Subject: [PATCH] takdec: add .sample_fmts Signed-off-by: Paul B Mahol --- libavcodec/takdec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c index 76bde55c56..11202967d2 100644 --- a/libavcodec/takdec.c +++ b/libavcodec/takdec.c @@ -977,4 +977,8 @@ AVCodec ff_tak_decoder = { .decode = tak_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"), + .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, + AV_SAMPLE_FMT_S16P, + AV_SAMPLE_FMT_S32P, + AV_SAMPLE_FMT_NONE }, };