Closed dvzrv closed 2 years ago
This PR attempts to guard against some deprecated ffmpeg functionality.
However, https://github.com/x42/xjadeo/commit/aade82a427d4839e8db3816effcef16467e80dd6 does not work as intended, as it leads to:
xjadeo.c:1340:33: error: invalid initializer xjadeo.c:1409:18: warning: assignment to ‘AVCodecContext *’ from incompatible pointer type ‘AVCodecParameters *’ [-Wincompatible-pointer-types] 1409 | pCodecCtx=pFormatCtx->streams[videoStream]->codecpar; | ^
Unfortunately I do not know how to do this any better. Suggestions welcome!
This does not yet provide compatibility with ffmpeg >= 5 though (also) for the same reasons as mentioned in https://github.com/x42/harvid/issues/8
This PR attempts to guard against some deprecated ffmpeg functionality.
However, https://github.com/x42/xjadeo/commit/aade82a427d4839e8db3816effcef16467e80dd6 does not work as intended, as it leads to:
Unfortunately I do not know how to do this any better. Suggestions welcome!
This does not yet provide compatibility with ffmpeg >= 5 though (also) for the same reasons as mentioned in https://github.com/x42/harvid/issues/8