ffmpeg | branch: master | Limin Wang <lance.lmw...@gmail.com> | Fri May 7 19:05:13 2021 +0800| [eb390d7f9d964c229bff251a4253518145254e6e] | committer: Limin Wang
avformat/hls: use av_strncasecmp() Reviewed-by: Steven Liu <l...@chinaffmpeg.org> Signed-off-by: Limin Wang <lance.lmw...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb390d7f9d964c229bff251a4253518145254e6e --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 584f658fe4..8fc6924c90 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -799,7 +799,7 @@ static int parse_playlist(HLSContext *c, const char *url, key_type = KEY_AES_128; if (!strcmp(info.method, "SAMPLE-AES")) key_type = KEY_SAMPLE_AES; - if (!strncmp(info.iv, "0x", 2) || !strncmp(info.iv, "0X", 2)) { + if (!av_strncasecmp(info.iv, "0x", 2)) { ff_hex_to_data(iv, info.iv + 2); has_iv = 1; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".