Merge tag 'v0.19.19'
release v0.19.19
This commit is contained in:
@@ -653,6 +653,10 @@ FfmpegDecode(Decoder &decoder, InputStream &input,
|
||||
AtScopeExit(&codec_context) {
|
||||
avcodec_free_context(&codec_context);
|
||||
};
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 25, 0) /* FFmpeg 3.1 */
|
||||
avcodec_parameters_to_context(codec_context, av_stream.codecpar);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const SampleFormat sample_format =
|
||||
|
Reference in New Issue
Block a user