History

avcodec/libvpxenc: Remove obsolete av_unused

Forgotten in 753074721bd414874d18c372c491bdc6323fa3bf.

Andreas Rheinhardt committed 2 years ago

Commit 8d1093a1 parent 1093b401 file · +1 −1Browse files

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

Unified · Split

libavcodec/libvpxenc.c+1−1
@@ -785,7 +785,7 @@ static int set_pix_fmt(AVCodecContext *avctx, vpx_codec_caps_t codec_caps, · 784 unmodified lines
785 struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags,785 struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags,
786 vpx_img_fmt_t *img_fmt)786 vpx_img_fmt_t *img_fmt)
787{787{
788 VPxContext av_unused *ctx = avctx->priv_data;788 VPxContext *ctx = avctx->priv_data;
789 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);789 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
790 enccfg->g_bit_depth = enccfg->g_input_bit_depth = desc->comp[0].depth;790 enccfg->g_bit_depth = enccfg->g_input_bit_depth = desc->comp[0].depth;
791 switch (avctx->pix_fmt) {791 switch (avctx->pix_fmt) {

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