mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Mpeg: Remove request_probe usage in newer FFmpeg.
No longer needed.
This commit is contained in:
parent
0ab6f1d080
commit
54dd4e4c0c
@ -426,8 +426,9 @@ bool MediaEngine::addVideoStream(int streamNum, int streamId) {
|
||||
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 33, 100)
|
||||
stream->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
stream->codecpar->codec_id = AV_CODEC_ID_H264;
|
||||
#endif
|
||||
#else
|
||||
stream->request_probe = 0;
|
||||
#endif
|
||||
stream->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
// We could set the width here, but we don't need to.
|
||||
if (streamNum >= m_expectedVideoStreams) {
|
||||
|
Loading…
Reference in New Issue
Block a user