1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-23 11:39:41 +00:00
openmw/apps
Dominique Martinet c5cdb0c277 ffmpeg_decoder: signal EOF/errors on readPacket
openmw with ffmpeg 5 would hang in an infinite loop trying to read at end of
files in avformat_open_input()
avio_read() apparently now no longer handlers 0 as a return value to signal
EOF and we need ot explicitly return AVERROR_EOF; their documentation
explicitely states "For stream protocols, must never return 0 but rather
a proper AVERROR code." for avio_alloc_context's read_context.

Also fix the exception case to return AVERROR_UNKNOWN -- I assume we'd
otherwise get stuck there too, but I don't know what would trigger this
case.

Fixes #6631
2022-06-08 12:33:25 +09:00
..
benchmarks Move FetchContent for benchmark to extern 2022-01-30 00:44:22 +01:00
bsatool Remove dependency on boost::filesystem in bsatool and niftest CMakeLists.txt 2022-05-23 21:52:22 +02:00
bulletobjecttool Remove some unused includes from bulletobjecttool 2022-05-23 21:35:07 +02:00
esmtool Convert esmtool from const std::string& to std::string_view 2022-05-21 21:39:26 +02:00
essimporter Remove even more of boost::filesystem 2022-05-25 18:29:02 +00:00
launcher moddable post-processing pipeline 2022-05-15 10:03:58 -07:00
mwiniimporter Avoid extra copy for Utf8Encoder::getUtf8 result 2022-02-14 23:01:32 +01:00
navmeshtool Fix typo in navmeshtool log message 2022-05-24 19:28:48 +02:00
niftest Remove dependency on boost::filesystem in bsatool and niftest CMakeLists.txt 2022-05-23 21:52:22 +02:00
opencs Correct CS typo described in #6704 2022-05-24 19:24:39 +02:00
openmw ffmpeg_decoder: signal EOF/errors on readPacket 2022-06-08 12:33:25 +09:00
openmw_test_suite Remove some more of boost:: 2022-05-25 21:16:26 +02:00
wizard Merge branch 'fix_6627' into 'master' 2022-04-17 17:13:13 +00:00
doc.hpp