[FFmpeg-devel] Incorrect AVSampleFormat for sample_fmts_s16p (libavcodec/adpcm.c)

Jonathan Morley jmorley.signup at gmail.com
Tue Aug 19 20:54:26 CEST 2014


 As of git: ea97859c8c218b83ab747a7eabcb88ca446f6751 line 1533 in
libavcodec/adpcm.c contains:

static const enum AVSampleFormat sample_fmts_s16p[] = { AV_SAMPLE_FMT_S16,

I believe it should contain:

static const enum AVSampleFormat sample_fmts_s16p[] = { AV_SAMPLE_FMT_S16P,

Note the trailing "P" for the planar format. Patch attached below.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adpcm_sample_fmts_s16p.patch
Type: application/octet-stream
Size: 1237 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140819/bdd2907e/attachment.obj>


More information about the ffmpeg-devel mailing list