[FFmpeg-cvslog] takdec: add .sample_fmts

Paul B Mahol git at videolan.org
Mon Dec 3 16:25:45 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec  3 15:21:19 2012 +0000| [0a8360c4f9cf3f6170dfaff5af2b3a5e8c41755d] | committer: Paul B Mahol

takdec: add .sample_fmts

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a8360c4f9cf3f6170dfaff5af2b3a5e8c41755d
---

 libavcodec/takdec.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 76bde55..1120296 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 },
 };



More information about the ffmpeg-cvslog mailing list