Skip to content
Snippets Groups Projects
Commit 9e48d340 authored by Alaric Senat's avatar Alaric Senat
Browse files

avcodec: fill audio frame channel field

Since ffmpeg 4.4 specifying channel layout or channel number is required
to call `avcodec_send_frame()` without error.
This is new requirement is due to a change in the avcodec internal API
brought by 827d6fe73d2f5472c1c2128eb14fab6a4db29032 (ffmpeg repo). They
now call `av_frame_ref` which needs the channels fields to be valid.

(cherry picked from commit 321a29b0)
parent 248a8e56
No related branches found
No related tags found
Loading
Pipeline #138414 passed with stages
in 19 minutes and 22 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment