From fc938285497400c2384aaaf9e7b973a676815910 Mon Sep 17 00:00:00 2001
From: Jon Morley <jon@tweaksoftware.com>
Date: Tue, 19 Aug 2014 11:17:49 -0700
Subject: [PATCH] Incorrect AVSampleFormat for sample_fmts_s16p
 (libavcodec/adpcm.c) The AVSampleFormat list of sample_fmts_s16p is missing
 the trailing "P" for planar formats. AV_SAMPLE_FMT_S16 vs AV_SAMPLE_FMT_S16P

---
 libavcodec/adpcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index e31242f..68663f3 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1530,7 +1530,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data,
 
 static const enum AVSampleFormat sample_fmts_s16[]  = { AV_SAMPLE_FMT_S16,
                                                         AV_SAMPLE_FMT_NONE };
-static const enum AVSampleFormat sample_fmts_s16p[] = { AV_SAMPLE_FMT_S16,
+static const enum AVSampleFormat sample_fmts_s16p[] = { AV_SAMPLE_FMT_S16P,
                                                         AV_SAMPLE_FMT_NONE };
 static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16,
                                                         AV_SAMPLE_FMT_S16P,
-- 
1.8.5.2 (Apple Git-48)

