Re: [FFmpeg-devel] [PATCH] lavf/libsrt: add version guard for srt encryption control

2019-12-28 Thread Marton Balint
On Sat, 28 Dec 2019, Jun Zhao wrote: From: Jun Zhao add version guard for srt encryption control. Ok, but the code will still fail in 1.3.2 because that version has no constant named SRTO_ENFORCEDENCRYPTION. So I suggest you use the original name for it, SRTO_STRICTENC. Regards, Marton

[FFmpeg-devel] [PATCH] lavf/libsrt: add version guard for srt encryption control

2019-12-28 Thread Jun Zhao
From: Jun Zhao add version guard for srt encryption control. Signed-off-by: Jun Zhao --- libavformat/libsrt.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index 2fdfe8e..f981ef1 100644 --- a/libavformat/libsrt.c +++ b