[FFmpeg-devel] [PATCH] avcodec: Assert on codec->encode2 in encode_audio2
luogpg at googlemail.com
Thu Aug 27 12:55:17 CEST 2015
2015-08-27 12:45 GMT+02:00 wm4 <nfxjfg at googlemail.com>:
> When can this happen? Shouldn't it just return an error somewhere if
> this is not an encoder?
I'm working on a Rust wrapper library and apparently am doing something
wrong (it segfaulted). `avcodec_encode_video2()` has this assertion, so I
thought it might fit here aswell.
More information about the ffmpeg-devel