Skip to content
Snippets Groups Projects
Commit 4a05d2ed authored by James Almer's avatar James Almer
Browse files

ffmpeg: stop using AVStream.codec on stream copy


This commit is based on commit 35c85806 from Anton Khirnov <anton@khirnov.net>
which was skipped in b8945c4e.

The avcodec_copy_context() call in the encode path is left in place for now
as AVStream.codec is apparently still required even after porting ffmpeg to
the new bsf API.

Tested-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarJames Almer <jamrial@gmail.com>
parent f0b6f725
No related branches found
No related tags found
No related merge requests found
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