Opened 12 years ago
Closed 12 years ago
#3870 closed defect (fixed)
Incorrect AVSampleFormat for sample_fmts_s16p (libavcodec/adpcm.c)
| Reported by: | avclubn00b | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | avcodec |
| Version: | git-master | Keywords: | adpcm |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
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.
I am truly sorry if this is wrong place to report this. I looked around on the site for sometime before deciding here was better than nowhere.
Change History (3)
follow-up: 2 comment:1 by , 12 years ago
| Keywords: | planar audio removed |
|---|
comment:2 by , 12 years ago
Replying to cehoyos:
Replying to avclubn00b:
I am truly sorry if this is wrong place to report this.
It is the wrong place.
Please send your patch (as unified diff as produced bygit format-patch) to the ffmpeg-devel mailing list, patches are often ignored on this bug tracker.
Thank you, cehoyos. I have mailed a patch to ffempg-devel. Please feel free to close this.
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Your patch was applied as 18e70006 - thank you for the report and the fix!



Replying to avclubn00b:
It is the wrong place.
Please send your patch (as unified diff as produced by
git format-patch) to the ffmpeg-devel mailing list, patches are often ignored on this bug tracker.