leandromoreira / leandromoreira/ffmpeg-libav-tutorial

pLocalCodecParameters->channel deprecated

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

struct "AVCodecParameters" has no field "channels"C/C++(136)

Now have a AVChannelLayout before, in pLocalCodecParameters->ch_layout.nb_channels.

https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/f9df28a4fa01025d2e67350e368aa6da41a68ba6/README.md?plain=1#L369

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open README.md at the linked section around line 369 and inspect the pLocalCodecParameters field reference. Replace the deprecated channels access with ch_layout.nb_channels, then verify that the tutorial no longer refers to the removed field.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.