ffmpeg compil versions warnnings

Origin commit data
------------------
Commit: fcb392908b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-10-27 (Wed, 27 Oct 2021)
This commit is contained in:
Jacek Jendrzej
2021-10-27 21:28:50 +02:00
committed by vanhofen
parent 1ab67d3cb7
commit 360fc7ff7a
4 changed files with 8 additions and 1 deletions

View File

@@ -961,7 +961,9 @@ void CStreamStream::run()
}
while (!stopped) {
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 133, 100)
av_init_packet(&pkt);
#endif
if (av_read_frame(ifcx, &pkt) < 0)
break;
if (pkt.stream_index < 0)