History

avcodec/g728dec: Remove AVCodec.sample_fmts

It is unnecessary for decoders (they just set AVCodecContext.sample_fmt). This also fixes a warning with Clang (because sample_fmts is set directly, not via CODEC_SAMPLEFMTS).

Andreas Rheinhardt committed 1 year ago

Commit 88fee701 parent 11428891 file · +0 −2Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/g728dec.c+0−2
@@ -215,6 +215,4 @@ const FFCodec ff_g728_decoder = { · 214 unmodified lines
215215 FF_CODEC_DECODE_CB(g728_decode_frame),
216216 .p.capabilities = AV_CODEC_CAP_CHANNEL_CONF |
217217 AV_CODEC_CAP_DR1,
218− .p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLT,
219− AV_SAMPLE_FMT_NONE },
220218 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t